JavaScript Speed Trials – Post III

Comment Tests – Parsing

In this test the test code is parsed 100 times for each measurement.

The number of comments varies from 1 to 10000 in increments of 666. Each of the comments is 64 characters long




Looks fairly linear – even for a large number of individual comments. Pretty much as expected. No severe penalty for making lots of comments other than the cost of loading and parsing.

About James McParlane

CTO Massive Interactive. Ex Computer Whiz Kid - Now Grumpy Old Guru.
This entry was posted in JavaScript, JavaScript Benchmarks. Bookmark the permalink.

1 Response to JavaScript Speed Trials – Post III

  1. James Mc Parlane says:

    On the same machine, Firefox was clocked at ~ 2x the speed of IE. (above)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s