x64 Ubuntu : Intel® Q6600® one core |
This chart shows 3 comparisons - Time-used, Memory-used and Code-used.
Each chart bar shows, for one unidentified benchmark, how much the fastest JavaScript TraceMonkey program used compared to the fastest Perl program.
This table shows 3 comparisons - Time-used, Memory-used and Code-used.
Each table row shows, for one named benchmark, how much the fastest JavaScript TraceMonkey program used compared to the fastest Perl program.
| JavaScript TraceMonkey used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | Reduced N |
| spectral-norm | 1/19 | 1/3 | 1/3 | |
| n-body | 1/7 | 1,280× | ± | 5,000,000 |
| binary-trees | 1/4 | 2× | ± | 16 |
| regex-dna | 1/4 | 4× | ± | |
| fasta | 1/2 | 41× | ± | |
| fannkuch | ± | ± | ± | |
| k-nucleotide | 2× | ± | ± | |
| reverse-complement | 8× | 3× | 2× | |
| pidigits | 339× | 16× | 2× | 6,000 |
± read the measurements and then read the program source code.
This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ~ CPU Load.
For each named benchmark, measurements of the fastest JavaScript TraceMonkey program are shown for comparison against measurements of the fastest Perl program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ~ CPU Load |
|---|---|---|---|---|---|
| spectral-norm | |||||
| JavaScript TraceMonkey | 58.49 | 58.49 | 4,424 | 311 | 0% 0% 0% 100% |
| Perl | 1,094.72 | 1,094.65 | 11,060 | 846 | 0% 0% 0% 100% |
| n-body N = 5,000,000 reduced workload | |||||
| JavaScript TraceMonkey | 22.63 | 22.63 | 3,293,176 | 1287 | 4% 3% 3% 100% |
| Perl | 162.35 | 162.35 | 2,572 | 1140 | 0% 0% 0% 100% |
| binary-trees N = 16 reduced workload | |||||
| JavaScript TraceMonkey | 12.79 | 12.79 | 154,316 | 467 | 0% 0% 0% 100% |
| Perl | 52.44 | 52.44 | 70,092 | 541 | 0% 0% 0% 100% |
| regex-dna | |||||
| JavaScript TraceMonkey | 10.79 | 10.79 | 636,800 | 365 | 0% 0% 0% 100% |
| Perl | 38.78 | 38.78 | 165,064 | 527 | 0% 0% 0% 100% |
| fasta | |||||
| JavaScript TraceMonkey | 135.74 | 135.77 | 104,772 | 923 | 1% 0% 1% 100% |
| Perl | 311.00 | 310.98 | 2,548 | 934 | 1% 1% 1% 100% |
| fannkuch | |||||
| JavaScript TraceMonkey | 2,296.58 | 2,296.46 | 2,696 | 488 | 0% 0% 0% 100% |
| Perl | 2,660.57 | 2,660.43 | 2,060 | 391 | 0% 0% 0% 100% |
| k-nucleotide | |||||
| JavaScript TraceMonkey | 438.71 | 439.27 | 1,057,344 | 423 | 0% 0% 0% 100% |
| Perl | 225.09 | 228.97 | 780,228 | 359 | 0% 0% 0% 100% |
| reverse-complement | |||||
| JavaScript TraceMonkey | 44.80 | 44.80 | 1,378,936 | 456 | 0% 0% 0% 100% |
| Perl | 5.30 | 5.30 | 433,056 | 298 | 0% 0% 0% 100% |
| pidigits N = 6,000 reduced workload | |||||
| JavaScript TraceMonkey | 1,110.60 | 1,110.55 | 57,720 | 609 | 0% 0% 0% 100% |
| Perl | 3.27 | 3.28 | 3,564 | 385 | 0% 0% 0% 100% |
| mandelbrot | |||||
| JavaScript TraceMonkey | |||||
| chameneos-redux | |||||
"Trace-based Just-in-Time Type Specialization for Dynamic Languages" pdf
mozilla-central-6282cd265a5c
Home Page: Introduction to the JavaScript shell
Download: Building SpiderMonkey tip