Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
I've got a little test harness for benchmarking JavaScript functions - by default it executes each function 100,000 times. Naturally, I measure the overhead of the loop and the function invocation by having a benchmark which times execution of a "do nothing" function.
On Opera and Safari it appears to work as expected. On Firefox, the "do nothing" function takes longer than the functions that do things, meaning it reports negative times when the overhead is subtracted
I'm almost at the point of firing up Windows and seeing what IE makes of it...
Comment