<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 10/03/2023 18:05, Maurizio
Cimadamore wrote:<br>
</div>
<blockquote type="cite" cite="mid:cb78aed5-ab0c-2e9a-c00e-2b7a56aae20e@oracle.com">
<p style="margin: 0px 0px 1.2em !important;">I’m not sure how much
the update to 20 matters - maybe try to fix all of the other
stuff first, and see what happens (inexact var handle calls can
be quite slow compared to Unsafe memory access).</p>
</blockquote>
<p>I reverted the Java 20 changes. Numbers still looking good:<br>
<br>
```<br>
Benchmark
(columnFamilyTestType) (keyCount) (keySize) (valueSize) Mode
Cnt Score Error Units<br>
GetBenchmarks.ffiGet
no_column_family 1000 128 4096 thrpt
30 596.329 ± 9.452 ops/ms<br>
GetBenchmarks.ffiGet
no_column_family 1000 128 65536 thrpt
30 60.368 ± 0.842 ops/ms<br>
GetBenchmarks.ffiGetPinnableSlice
no_column_family 1000 128 4096 thrpt
30 752.036 ± 5.655 ops/ms<br>
GetBenchmarks.ffiGetPinnableSlice
no_column_family 1000 128 65536 thrpt
30 111.105 ± 2.304 ops/ms<br>
GetBenchmarks.ffiGetRandom
no_column_family 1000 128 4096 thrpt
30 582.699 ± 3.379 ops/ms<br>
GetBenchmarks.ffiGetRandom
no_column_family 1000 128 65536 thrpt
30 64.546 ± 1.829 ops/ms<br>
GetBenchmarks.ffiIdentity
no_column_family 1000 128 4096 thrpt 30
57239.625 ± 674.849 ops/ms<br>
GetBenchmarks.ffiIdentity
no_column_family 1000 128 65536 thrpt 30
57802.683 ± 589.983 ops/ms<br>
GetBenchmarks.ffiPreallocatedGet
no_column_family 1000 128 4096 thrpt
30 717.237 ± 8.434 ops/ms<br>
GetBenchmarks.ffiPreallocatedGet
no_column_family 1000 128 65536 thrpt
30 96.223 ± 1.143 ops/ms<br>
GetBenchmarks.ffiPreallocatedGetRandom
no_column_family 1000 128 4096 thrpt
30 585.284 ± 5.415 ops/ms<br>
GetBenchmarks.ffiPreallocatedGetRandom
no_column_family 1000 128 65536 thrpt
30 66.568 ± 0.843 ops/ms<br>
GetBenchmarks.get
no_column_family 1000 128 4096 thrpt
30 553.515 ± 6.278 ops/ms<br>
GetBenchmarks.get
no_column_family 1000 128 65536 thrpt
30 59.999 ± 0.935 ops/ms<br>
GetBenchmarks.preallocatedByteBufferGet
no_column_family 1000 128 4096 thrpt
30 738.077 ± 8.767 ops/ms<br>
GetBenchmarks.preallocatedByteBufferGet
no_column_family 1000 128 65536 thrpt
30 99.239 ± 1.398 ops/ms<br>
GetBenchmarks.preallocatedByteBufferGetRandom
no_column_family 1000 128 4096 thrpt
30 722.680 ± 11.499 ops/ms<br>
GetBenchmarks.preallocatedByteBufferGetRandom
no_column_family 1000 128 65536 thrpt
30 110.411 ± 1.117 ops/ms<br>
GetBenchmarks.preallocatedGet
no_column_family 1000 128 4096 thrpt
30 700.405 ± 8.534 ops/ms<br>
GetBenchmarks.preallocatedGet
no_column_family 1000 128 65536 thrpt
30 99.694 ± 2.122 ops/ms<br>
```<br>
</p>
<p>Maurizio<br>
</p>
</body>
</html>