Open
Description
So, I ran Valgrind with 2 engines and it seems that NG is about 3% slower and also consumes more memory
========== Performance data for Resolving ==========
Old instruction count: 9396116795
New instruction count: 9761057471
Relative change: +3 %
Old peak memory usage: 118112672 Bytes
New peak memory usage: 120718720 Bytes
Relative change: +2 %
Results seem to be consistent between different runs.
However, attempt to use sampling profiler on MacOS does not provide consistent results making hard to track down the reason of degradation.
Some suspects are (the numbers are sample counts in 3 different runs):
Old
js_create_function 32/28/42
__JS_EvalInternal 87/73/81
New
js_create_function 39/36/39
__JS_EvalInternal 105/84/83
It seems that both functions are a bit slower, but that could be natural variance between runs.
Bisecting this would be harder this time, but if there's no other way, I can try doing so.
In the meantime, maybe you have any hints what could cause regression?
Metadata
Metadata
Assignees
Labels
No labels