News for hackers. Stuff that matters.
Re:How Node.js applications will benefit from replacing V8 i... by AshleysBrain on Sunday May 04, 2014 @12:00PM (#7694697)
How exactly does JXCore manage to beat years worth of optimisation engineering by Google? I'm skeptical, especially since I can imagine an engineering tradeoff between performance and stability. Maybe V8 is slower because they fixed crash bugs caused by overoptimistic code generation. What assurances does anyone have that their slower but working V8 code won't be fast and broken in a new engine?
Re:How Node.js applications will benefit from replacing V8 i... by modeless on Sunday May 04, 2014 @12:27PM (#7694789)
It doesn't. The benchmark clearly shows that V8 is faster than JXCore, because lower scores are worse.
Re:How Node.js applications will benefit from replacing V8 i... by bbllee on Sunday May 04, 2014 @12:54PM (#7694880)
Looking at the linked benchmark file appears to bear out this claim:

https://github.com/Nubisa/jxdocs/blob/master/benchmarks/core...

It appears that the reported numbers for benchmark X are _the # of times that X can be run before one second elapses_, so parent comment is correct and the premise of the blogpost (that the new node.js version with V8 has worse performance than the earlier version / the private fork has better performance than the new version and slightly worse performance than the old) is contradicted by the evidence presented.

Not a good way to look competent, posting something like this. Countdown until edit or takedown...

Re:How Node.js applications will benefit from replacing V8 i... by eshyong on Sunday May 04, 2014 @01:59PM (#7695092)
Wait, I'm confused. From the following line:

https://github.com/Nubisa/jxdocs/blob/master/benchmarks/core...

Doesn't this line calculate the amount of time it takes to compute a single task? (elapsed time / number of runs = time per run) Doesn't this mean that JXcore is actually faster, since the number would be smaller with more runs?

Re:How Node.js applications will benefit from replacing V8 i... by bbllee on Sunday May 04, 2014 @03:50PM (#7695518)

    // Suites of benchmarks consist of a name and the set of benchmarks in
    // addition to the reference timing that the final score will be based
    // on.  This way, all scores are relative to a reference run and higher
    // scores implies better performance.

https://github.com/Nubisa/jxdocs/blob/master/benchmarks/core...

For complete clarity, see also the lines

https://github.com/Nubisa/jxdocs/blob/master/benchmarks/core...

The score is (arbitrary reference constant) / (geometric mean of runtime). Bad performance ==> longer runtime ==> lower scores.

Re:How Node.js applications will benefit from replacing V8 i... by moisy on Sunday May 04, 2014 @02:08PM (#7695126)
numbers seem less important considering the run times.
Re:How Node.js applications will benefit from replacing V8 i... by jfk3 on Sunday May 04, 2014 @12:37PM (#7694829)
Performance is measurable not in years.