Dear v8ers,

Erik pointed out that my r2110 dramatically reduced performance of
several benchmarks, including string-add.  I compiled two versions,
with and without 2110 and they ran fine on my box.  Erik suggested to
run them on newt.aar and here began the mistery: unless I misbuilt the
stuff results look:

ant...@newt:/home/erikcorry/b$ ~/d8-2110 string-add.js && ~/d8-2111
string-add.js
Time (string-add): 301000 us.
Time (string-add): 301428 us.
ant...@newt:/home/erikcorry/b$ ~/d8-2110 string-add.js && ~/d8-2111
string-add.js
Time (string-add): 301857 us.
Time (string-add): 302857 us.
ant...@newt:/home/erikcorry/b$ ~/d8-2110 string-add.js && ~/d8-2111
string-add.js
Time (string-add): 309714 us.
Time (string-add): 306142 us.
ant...@newt:/home/erikcorry/b$ ~/d8-2110 string-add.js && ~/d8-2111
string-add.js
Time (string-add): 300714 us.
Time (string-add): 301857 us.
ant...@newt:/home/erikcorry/b$ ~/d8-2110 string-add.js && ~/d8-2111
string-add.js
Time (string-add): 301571 us.
Time (string-add): 300714 us.
ant...@newt:/home/erikcorry/b$ ~/d8-2110 string-add.js && ~/d8-2111
string-add.js
Time (string-add): 302571 us.
Time (string-add): 301428 us.
ant...@newt:/home/erikcorry/b$ ~/shell-2110 string-add.js &&
~/shell-2111 string-add.js
Time (string-add): 446800 us.
Time (string-add): 302142 us.
ant...@newt:/home/erikcorry/b$ ~/shell-2110 string-add.js &&
~/shell-2111 string-add.js
Time (string-add): 306857 us.
Time (string-add): 309857 us.
ant...@newt:/home/erikcorry/b$ ~/shell-2110 string-add.js &&
~/shell-2111 string-add.js
Time (string-add): 449400 us.
Time (string-add): 303285 us.
ant...@newt:/home/erikcorry/b$ ~/shell-2110 string-add.js &&
~/shell-2111 string-add.js
Time (string-add): 436800 us.
Time (string-add): 306428 us.
ant...@newt:/home/erikcorry/b$ ~/shell-2110 string-add.js &&
~/shell-2111 string-add.js
Time (string-add): 432200 us.
Time (string-add): 304000 us.

(r2111 rolls 2110 back, d8 and shell are corresponding binaries, built
as scons -j4 sample=shell and scons -j4 d8 correspondingly).

Fun facts: d8 for both 2110 and 2111 runs in same time, shell for 2110
usually runs 1.5 (!) longer, but sometimes (~10-20% of the cases)
identically to 2111.

Does anyone have any idea what might have happened?  Erik suggested
that things are linked somewhat differently.

Change itself looks quite plain and it's not obvious how that can
introduce any regression:

The only thing I can immediately see is expensive IsJSGlobalProxy, but
why this is that instable, that'd be odd if more invocations to
IsJSGlobalProxy would lead to more GCing.

Any ideas are most appreciated.

tia and yours,
anton.

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to