escargot
escargot copied to clipboard
Implement tail call optimization (TCO) for simple function calls
- replace simple tail calls by TCO
- CallFunction or CallFunctionWithReceiver bytecode located in tail call position is optimized
Signed-off-by: HyukWoo Park [email protected]
octane score 2302 -> 2321 But, this is still in draft mode (need more adjustment)
Origin |
---|
Richards: 1213 |
DeltaBlue: 979 |
Crypto: 1851 |
RayTrace: 1257 |
EarleyBoyer: 1786 |
RegExp: 328 |
Splay: 962 |
SplayLatency: 1933 |
NavierStokes: 2007 |
PdfJS: 4840 |
Mandreel: 899 |
MandreelLatency: 5671 |
Gameboy: 7831 |
CodeLoad: 17326 |
Box2D: 4167 |
zlib: 2031 |
Typescript: 8360 |
Score (version 9): 2302 |
TCO |
---|
Richards: 1230 |
DeltaBlue: 1001 |
Crypto: 1800 |
RayTrace: 1305 |
EarleyBoyer: 1826 |
RegExp: 359 |
Splay: 964 |
SplayLatency: 1965 |
NavierStokes: 1975 |
PdfJS: 4939 |
Mandreel: 919 |
MandreelLatency: 5790 |
Gameboy: 7857 |
CodeLoad: 17495 |
Box2D: 4183 |
zlib: 1980 |
Typescript: 7780 |
Score (version 9): 2321 |
Too old patch to update. I'll re-push a new patch.