Closed Bug 602132 Opened 11 years ago Closed 9 years ago
Consider self-hosting Array
See the attached code. Running that with -m shows a slight speedup of the self-hosted version over the native version (modulo bug 602129). Running with -j shows a significant speedup (order of 50% faster). That's even with the JM gatling gun patch applied. The only caveat is I hacked in a "fix" for bug
With the patches in bug 602131 and the patch from bug 581893 (to make the comparison more fair) applied, I get these times with -j -m on the attached testcase: 434 438 96 124 If I make the array a slow array (by setting |arr.foo = 0| on it), I get these times: 1268 1293 972 1011 so even that is decent. Times with -m only for the self-hosted version are: Fast arrays: 428 1286 Slow arrays: 1231 2250 so even that's a bit of a win over the native, modulo bug 602129.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 784294
You need to log in before you can comment on or make changes to this bug.