Closed
Bug 455751
Opened 16 years ago
Closed 13 years ago
TM: "count the primes" testcase only 2x faster than with jit off
Categories
(Core :: JavaScript Engine, enhancement)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bzbarsky, Unassigned)
References
(Blocks 1 open bug, )
Details
BUILD: Current tracemonkey tip STEPS TO REPRODUCE: 1) Save https://bugzilla.mozilla.org/attachment.cgi?id=336057 2) Run it in the JS shell EXPECTED RESULTS: C-like speeds ACTUAL RESULTS: twice as fast as without jit, but 6x slower than C. SEE ALSO: Bug 451673 comment 16.
Updated•16 years ago
|
Severity: normal → enhancement
Reporter | ||
Comment 1•16 years ago
|
||
For what it's worth, current TM is about 6x faster than interpreted on this testcase (so only 2x slower than C). That's not too shabby. ;)
Reporter | ||
Comment 2•16 years ago
|
||
If we think that's good enough, we could probably just resolve this, but add the test to some sort of test suite, ideally.
Comment 3•13 years ago
|
||
In current JS shell: Interp: 3868.220 ms -j: 4042.015 ms -m: 419.207 ms -m -n: 298.719 ms Something regressed tracejit performance, but JM+TI is currently 13x faster than interp.
You need to log in
before you can comment on or make changes to this bug.
Description
•