Looks promising, now this simple test <https://gist.github.com/1511972> loops ~
3 times faster!
****** BEFORE:
$ node -e 'console.log(process.versions)'
{ node: '0.7.5',
v8: '3.9.5',
ares: '1.7.5-DEV',
uv: '0.6',
openssl: '0.9.8r' }
$ node Desktop/nextTick.js
loopsPerSecond: 103412616.3, nextTicksPerSecond: 671885.8, ratio: 153.9x times
faster
loopsPerSecond: 104602510.5, nextTicksPerSecond: 662346.2, ratio: 157.9x times
faster
loopsPerSecond: 114025085.5, nextTicksPerSecond: 658962.3, ratio: 173.0x times
faster
loopsPerSecond: 114155251.1, nextTicksPerSecond: 653162.1, ratio: 174.8x times
faster
loopsPerSecond: 112233445.6, nextTicksPerSecond: 655562.1, ratio: 171.2x times
faster
****** AFTER:
$ node -e 'console.log(process.versions)'
{ node: '0.7.5',
v8: '3.10.5 (candidate)',
ares: '1.7.5-DEV',
uv: '0.6',
openssl: '0.9.8r' }
$ node Desktop/nextTick.js
loopsPerSecond: 353356890.5, nextTicksPerSecond: 750116.9, ratio: 471.1x times
faster
loopsPerSecond: 312500000.0, nextTicksPerSecond: 749467.4, ratio: 417.0x times
faster
loopsPerSecond: 311526479.8, nextTicksPerSecond: 754602.5, ratio: 412.8x times
faster
loopsPerSecond: 313479623.8, nextTicksPerSecond: 747679.7, ratio: 419.3x times
faster
loopsPerSecond: 313479623.8, nextTicksPerSecond: 751938.1, ratio: 416.9x times
faster
And this <https://gist.github.com/2369318> :
****** BEFORE:
$ node -e 'console.log(process.versions)'
{ node: '0.7.5',
v8: '3.9.5',
ares: '1.7.5-DEV',
uv: '0.6',
openssl: '0.9.8r' }
$ node bench.js
Threads_a_gogo JS thread -> 4712 (ms) 298607040
Node's main JS thread -> 7915 (ms) 298607040
Ratio: 1.68 times faster than main JS thread
New, separate VM -> 4751 (ms) 298607040
Ratio: 1.01 times faster than new VM
****** AFTER:
$ node -e 'console.log(process.versions)'
{ node: '0.7.5',
v8: '3.10.5 (candidate)',
ares: '1.7.5-DEV',
uv: '0.6',
openssl: '0.9.8r' }
$ node bench.js
Threads_a_gogo JS thread -> 4954 (ms) 298607040
Node's main JS thread -> 4794 (ms) 298607040
Ratio: 0.97 times faster than main JS thread
New, separate VM -> 4935 (ms) 298607040
Ratio: 1.00 times faster than new VM
Somehow, now you've broken my threads !
--
Jorge.
On Apr 19, 2012, at 5:15 PM, Vyacheslav Egorov wrote:
> We have fixed the issue. You can try again with newest V8 from the
> bleeding_edge branch.
>
> --
> Vyacheslav Egorov
>
>
> On Fri, Apr 13, 2012 at 6:21 PM, Vyacheslav Egorov <[email protected]>
> wrote:
>> To ensure that this is not going to fall through, I have filed an issue:
>>
>> http://code.google.com/p/v8/issues/detail?id=2079
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en