Closed Bug 455751 Opened 17 years ago Closed 14 years ago

TM: "count the primes" testcase only 2x faster than with jit off

Categories

(Core :: JavaScript Engine, enhancement)

x86
macOS
enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bzbarsky, Unassigned)

References

()

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.
Blocks: 451673
Severity: normal → enhancement
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. ;)
If we think that's good enough, we could probably just resolve this, but add the test to some sort of test suite, ideally.
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.
Blocks: 467263
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.