Benchmark icon indicating copy to clipboard operation
Benchmark copied to clipboard

Improve examples

Open jesuisYves opened this issue 10 months ago • 0 comments

The final log in 2-benchmark has been changed. Comma only appeared in cases where there were a few optimisations in a single opt call: closureInstance....... 330061782 no preopt, interp interp opt, turbofan

An arrow has been added to distinct optimization steps in the final log: closureInstance....... 213392979 no preopt -> interp -> interp -> opt, turbofan

closureInstance in 3-instantiation has been fixed. Previously it returned a function instead of an object instance.

In 4-array data1 elements didn't have age property, so the query filter always failed. This issue has already been addressed in https://github.com/HowProgrammingWorks/Benchmark/pull/15, but I believe it is better to create a separate prototype for objects rather than using the same one as for arrays.

jesuisYves avatar Feb 10 '25 15:02 jesuisYves