OUT-OF-DATE! Read http://shootout.alioth.debian.org/ |
Do the JavaScript SpiderMonkey programs use optimized assembly code libraries? Are they small simple programs or very optimized programs? Do the JavaScript SpiderMonkey programs use a fraction of the time used by other programs or do they use several times more?
| JavaScript SpiderMonkey used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Programs | Time | Memory | Code | Reduced N |
| ↓ recursive | 1/2 | 1/2 | ± | 3 |
| ↓ binary-trees | 1/2 | 3× | ± | |
| ↓ spectral-norm | ± | 27× | ± | |
| ↓ regex-dna | ± | 8× | ± | |
| ↓ fasta | 2× | 76× | ± | |
| ↓ n-body | 2× | 34× | ± | |
| ↓ nsieve-bits | 2× | 23× | ± | |
| ↓ fannkuch | 2× | 1/2 | ± | |
| ↓ nsieve | 2× | 2× | ± | |
| ↓ partial-sums | 3× | 45× | ± | |
| ↓ k-nucleotide | 4× | 4× | ± | |
| ↓ sum-file | 6× | 14× | ± | |
| ↓ reverse-complement | 37× | 5× | ± | |
± look at the measurements and then look at the programs.
"SpiderMonkey", Software 2.0 2/2005, 320KB pdf
ECMAScript standard "ECMA-262 Edition 3" 1.2MB pdf
JavaScript-C 1.7 pre-release 3 2007-04-01
Home Page: http://www.mozilla.org/js/language/
Download: http://www.mozilla.org/js/spidermonkey/