You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Measure again whether the JVM AOT cache can be on by default, on the 26.12.1 wheel #560
enhancementNew feature or requestjvmThe arcadedb-jvm package (JPype build)performanceSpeed or memory of the bindings, with a measurementpythonPull requests that update python code
The JVM package keeps its JDK 25 AOT cache opt-in (ARCADEDB_AOT=1 or start_jvm(aot=True)). I would like to measure again, on the 26.12.1 arcadedb-jvm wheel, whether it can be on by default.
Earlier result
From #247, with the figures in the "What we measured" section of the installation page (#248): one laptop, arcadedb-jvm 26.11.1.dev0 on its bundled JDK 25, ABBA order, 19 rounds per arm, 18 clean pairs per figure, with an A/A control. Time with the cache divided by time without it, median and 95% interval:
figure
ratio
first script, from import to the first openCypher result
0.653 [0.648, 0.658]
steady: insert_many of 300,000 documents
1.000 [0.948, 1.036]
steady: 100,000 point reads
0.931 [0.877, 1.002]
steady: 5,000 warm 2-hop openCypher queries
0.943 [0.902, 0.996]
steady: peak memory (RSS)
1.009 [0.940, 1.074]
The no-harm bar written before the run was 1.03. The insert_many interval ended at 1.036, so the cache stayed opt-in and was documented instead.
Why look again
The miss was 0.006 on one end of one interval (about half a percent of the bar), with a median of 1.000, while the first script ran in about two thirds of the time.
The same workloads and figures on the 26.12.1 arcadedb-jvm wheel, with the default CDS archive in both arms and the AOT cache in one, plus the A/A control.
Enough rounds for insert_many that its interval is narrower than [0.948, 1.036].
The one-time costs, since a default puts them on every user. In the earlier study: a training run of 4.5 s against 2.8 s without the cache, a check run of 0.7 s, and a cache file of 39.6 MiB.
enhancementNew feature or requestjvmThe arcadedb-jvm package (JPype build)performanceSpeed or memory of the bindings, with a measurementpythonPull requests that update python code
Activity