QSA 1.2.0 and 1.1.3 were both released on friday, so I sat down and did some informal benchmarking (note the word informal, which basically indicates that the computer was playing music in the background while the tests were running.)
The benchmarks consisted of a set of generated scripts, designed to test parsing speed, as well as the execution speed, of certain basic language features (such as function calls, loops, dynamically declaring properties, comparisons, conditional blocks, dynamic type conversion and some arithmetic operations.) Since the generated scripts did nothing useful, I also threw in a small sqrt script to verify the speed of non-pointless code as well.
The timing is based on the high resolution performance counter in my work station, and I’ve arranged the results from longest execution time to shortest.
The conclusion is: QSA 1.2.0 is faster.
Also, the parts of the engine that were tested are essentially identical in the two versions of QSA, except that the 1.2.0 uses the Qt 4 API rather than the Qt 3 API.
Hence, Qt 4 is faster; a port of QSA from Qt 3 to Qt 4 gave us a potential performance benefit of up to eighy-eight percent and probably more, and we didn’t have to alter almost any of the logic. Everybody needs to do that dance now.
One Response to “QSA 1.2.0”
I need q&a for wireless lan v 1.2 exams (1-12)