Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
is v8 in 0.8 slow?

#Performance

See test/benchmark/compare.js for benchmark code.

Executed on cpu: 2.66 Ghz Intel Core i7 and node: v0.6.21-pre.

Case ms / run - less is better
a small document (693 B)
plates 0.059
domstream - no cache 0.0462
domstream - cache 0.0214
a big document (5520 B)
plates 0.3236
domstream - no cache 0.2174
domstream - cache 0.104

Executed on cpu: 2.66 Ghz Intel Core i7 and node: v0.8.4-pre.

Case ms / run - less is better
a small document (693 B)
plates 0.0532
domstream - no cache 0.0465
domstream - cache 0.0259
a big document (5520 B)
plates 0.2928
domstream - no cache 0.2168
domstream - cache 0.1162
@AndreasMadsen

This comment has been minimized.

Copy link
Owner Author

commented Jul 21, 2012

So for some reason my code is 10% slower on node 0.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.