Calculate the execution time of operations in ECL
ECL is not a procedural language, that is, the order in which operations are performed is not necessarily the order given by the code, which can cause trouble in calculating the execution time of operations. This blog describes how to calculate the execution time of certain operations for users to evaluate performance.
In ECL, you can use the following code to get the current system time:
1 | IMPORT STD; |
Use ORDERED
or SEQUENCIAL
to force certain
operations to be executed in order:
1 | ORDERED([OUTPUT(STD.Date.CurrentTime(TRUE), NAMED('startTime')), |
Reference: