[Libreoffice-bugs] [Bug 97827] Change the rhino engine for javascript macros for non Java alternative (spidermonkey/V8)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 18 18:07:02 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=97827

--- Comment #11 from Spyros <Spyros_Stravoravdis at hotmail.com> ---
Out of curiosity I tried Rhino and QuickJS on the bench-v8 version 7 benchmark
(https://github.com/mozilla/arewefastyet/tree/master/benchmarks/v8-v7), used on
the official QuickJS website as a comparison with other JS micro-engines
(https://bellard.org/quickjs/bench.html).

I wanted to benchmark Duktape too, but it would not compile on my Debian 11
system, since the build system requires Python2 YAML (which is not available
anymore at the repositories).

Rhino 1.7.14-SNAPSHOT 2021 09 14

java -classpath buildGradle/libs/rhino-1.7.14-SNAPSHOT.jar
org.mozilla.javascript.tools.shell.Main -opt -1 -f bench-v8/combined.js
//commented out a line with console.log (Rhino does not support it)

PROGRESS Richards
RESULT Richards 53.6
PROGRESS DeltaBlue
RESULT DeltaBlue 55.3
PROGRESS Encrypt
PROGRESS Decrypt
RESULT Crypto 52.0
PROGRESS RayTrace
RESULT RayTrace 134
PROGRESS Earley
PROGRESS Boyer
RESULT EarleyBoyer 167
PROGRESS RegExp
RESULT RegExp 147
PROGRESS Splay
RESULT Splay 302
PROGRESS NavierStokes
RESULT NavierStokes 65.7
SCORE 100

QuickJS 2021-03-27

./qjs bench-v8/combined.js

PROGRESS Richards
RESULT Richards 363
PROGRESS DeltaBlue
RESULT DeltaBlue 350
PROGRESS Encrypt
PROGRESS Decrypt
RESULT Crypto 419
PROGRESS RayTrace
RESULT RayTrace 483
PROGRESS Earley
PROGRESS Boyer
RESULT EarleyBoyer 676
PROGRESS RegExp
RESULT RegExp 125
PROGRESS Splay
RESULT Splay 893
PROGRESS NavierStokes
RESULT NavierStokes 751
SCORE 442

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210918/7ed4a376/attachment.htm>


More information about the Libreoffice-bugs mailing list