Closed
Bug 484584
Opened 16 years ago
Closed 16 years ago
peacekeeper test case slower when traced successfully
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 479110
People
(Reporter: sayrer, Assigned: gal)
Details
Attachments
(3 files)
The attachment on the tracemonkey branch is slower than mozilla-central.
Reporter | ||
Comment 1•16 years ago
|
||
Reporter | ||
Comment 2•16 years ago
|
||
tracemonkey JIT: 8475 ops/sec
tracemonkey no-JIT: 9000 ops/sec
mozilla-central no-JIT: 9050 ops/sec
mozilla-central JIT: 10450 ops/sec
Reporter | ||
Comment 3•16 years ago
|
||
Assignee | ||
Comment 5•16 years ago
|
||
Cause: massive side-exits. You can easily see this with TRACEMONKEY=stats in the shell:
recorder: started(5), aborted(3), completed(2), different header(0), trees trashed(0), slot promoted(0), unstable loop variable(0), breaks(0), returns(0), unstableInnerCalls(0)
monitor: triggered(121177), exits(121177), type mismatch(0), global mismatch(0)
Assignee | ||
Comment 6•16 years ago
|
||
whale:src gal$ TRACEMONKEY=stats ./Darwin_DBG.OBJ/js -j x.js
benchmark.runTest Start running test.
benchmark Elapsed time 1077. Operations: 10000. Operations per second: 9285.051067780872
recorder: started(4), aborted(1), completed(4), different header(0), trees trashed(0), slot promoted(0), unstable loop variable(0), breaks(0), returns(0), unstableInnerCalls(0)
monitor: triggered(6), exits(6), type mismatch(0), global mismatch(0)
Yep, this is a dup (note: score is for a debug build here).
Assignee | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 8•16 years ago
|
||
OPT scores with mismatch patch applied:
benchmark.runTest Start running test.
benchmark Elapsed time 679. Operations: 10000. Operations per second: 14727.540500736375
whale:src gal$ ./Darwin_OPT.OBJ/js x.js
benchmark.runTest Start running test.
benchmark Elapsed time 1043. Operations: 10000. Operations per second: 9587.727708533079
whale:src gal$
The rest is array overhead in join.
You need to log in
before you can comment on or make changes to this bug.
Description
•