Description
What is X3 performance measurement tool?
In the virtualization section of the Architecture guide of X3 there is a portion that states:
V11 guide: To help determine the quality of an infrastructure regardless of its nature (physical or virtual, single or multi-tier, Oracle or SQL Server, Unix-Linux or Windows, etc.), Sage can provide a test program to meter X3’s performance by performing a set of data I/O operations of the reference folder to simulate some high-demand transactions.
The results of this program can help to compare metered performance to known reference systems and feedback from other customers’ production infrastructures
PU9 guide: To help determine the quality of an infrastructure regardless of its nature (physical or virtual, mono or multi-tier, Oracle or SQL Server, Unix-Linux or Windows, etc.), Sage can provide a test program to meter the performance of its software application that carries out seven actions on tables in the reference folder (read, insert, delete).
The results of this program can help you identify and determine how performance compares to previously metered criteria based on benchmarks and feedback from other customers’ production infrastructures.
PU8 guide: To help in the qualification of an infrastructure regardless of its nature : physical or virtual, mono or multi-tier, Oracle or SQL Server, Unix-Linux or Windows, etc., the Sage editor can provide a program for measure the performance of its Software application to carry 7 actions in the database of the reference folder (read, write, delete).

Resolution
Note: This program can be used from V6 and later versions.
You can comment out the adxftl = line if you are in a V6 environment prior to P29 where adxftl is forced.
This program has to be run against X3 folder.
It's better to run this program while users are out of the system ( no other X3 usage )to get a consistent result.
For example on a test system Windows 2012 R2 / SQL Server 2014 / X3 ERP U9.0.2 / Amazon Web Services C4.xlarge / mono-tier Index Legacy = 91 seconds
This program tests things at X3 core level between runtime and DB only, there is no interaction with Syracuse, MongoDB nor Elastic Search or any other SAFE X3 Component.
Attached is the performance measurement tool for Sage X3.
Copy the attached file to your X3\TRT directory.
Switch to X3 folder.
OpenDevelopment, Scripts dictionary, Scripts, Script editor (ADOTRT).
Open the script.
ClickCompile.
OpenDevelopment, Utilities, Miscellaneous, Run processes (EXETRT).
Enter the script name.
ClickOK.
The script would run and you can compare the legacy timing at the end of the produced log.
The number that you need to pay attention to is the Legacy Index number, if this number is more than 200 for single-tier system or more than 300 seconds for multi-tier system which indicates your environment is not running in high performance, and if your system is virtualized and based on VMware, you can try attached suggestions.
Unofficialclassification of results