[X3D-Ecosystem] Benchmarking JIT versus AOT CommandLine (X3DJSAIL)
John Carlson
yottzumm at gmail.com
Wed Jul 30 06:21:31 PDT 2025
New results. I've combined all the validation code into one process. I do
have less control, but I can still control which files get processed.
Only one process, JIT (well, find and xargs, that's not different)
real 3m2.537s
user 0m0.061s
sys 0m0.108s
This is quite an excellent result. I hope that Don takes notice and starts
using <apply> in ant to speed up his code. I am attaching code to run
validation (getting to -schematron).
One process, AOT compilation:
real 10m3.645s
user 0m1.044s
sys 0m1.457s
JIT appears to have a clear advantage for now. I guess I won't look any
more into AOT.
John
On Mon, Jul 28, 2025 at 9:37 AM John Carlson <yottzumm at gmail.com> wrote:
> validating with AOT:
>
> real 11m5.036s
> user 0m3.252s
> sys 0m3.440s
>
> validating with JIT
>
> real 8m19.679s
> user 0m2.739s
> sys 0m3.602s
>
> It looks like JIT is quite a bit faster, but enabling -march=native, I
> get:
>
> real 9m40.509s
> user 0m2.425s
> sys 0m3.589s
>
> Maybe it's a toss up?
>
> I wonder what optimizations could be done with AOT?
>
> Hmm!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250730/fafb338c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CommandLines.java
Type: application/ms-java
Size: 444 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250730/fafb338c/attachment.bin>
More information about the X3D-Ecosystem
mailing list