Blogger

Delete comment from: Web Reflection

qFox I am not sure I have got your point ... I am testing the difference between bodies with arguments, and bodies without.
To make the usage of arguments not ignorable I push results into a stack (that will be empty after each bench).
This is already another operation inside the function body, and we all can see the difference.
If an execution takes 1 second, of course "0.1" ms are not important.
The problem is that whatever profiler we use, we can easily spot each JavaScript session has thousands of hundreds of function calls, and in this case, the total amount of added milliseconds counts.

Firefox seems to be the only one not affected at all about arguments presence, but check IE out, and other as well :(

Feb 13, 2010, 9:09:51 AM


Posted to arguments, callee, call, and apply performances

Google apps
Main menu