Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
atomopawn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
atomopawn
9y ago
So I ran your two programs through SpiderNode just to see how they perform with SpiderMonkey as the engine instead of V8. As expected, the average time is a little higher, but that is especially true of the closure implementation. Running
2.
▲
by
atomopawn
9y ago
Good analysis. Interestingly, when I try to duplicate your results, the class implementation takes twice as long as the closure implementation (10 seconds vs 5). I'm using v4.2.6 of node, though. Clearly v6 makes a big difference.