LMDB Library Performance Analysis

LMDB Library Performance Analysis

Results | Trend

Performance Analysis

The following tables show each benchmark ranked by latency (smaller is better), with percentage difference from the fastest LMDB library build. The latest tag (LMDB_0.9.33) is highlighted in bold.

Read by Key

RankLMDB Tagms/opvs Fastest
1LMDB_0.9.2944.066baseline
2LMDB_0.9.1944.080+0.0%
3LMDB_0.9.2144.103+0.1%
4LMDB_0.9.1744.104+0.1%
5LMDB_0.9.3344.129+0.1%
6LMDB_0.9.2844.131+0.1%
7LMDB_0.9.2744.177+0.3%
8LMDB_0.9.2244.217+0.3%
9LMDB_0.9.3044.264+0.4%
10LMDB_0.9.3144.296+0.5%
11LMDB_0.9.2044.422+0.8%
12LMDB_0.9.1844.681+1.4%
13LMDB_0.9.2445.623+3.5%
14LMDB_0.9.2356.618+28.5%

Write Entry

RankLMDB Tagms/opvs Fastest
1LMDB_0.9.1874.909baseline
2LMDB_0.9.1775.790+1.2%
3LMDB_0.9.1981.404+8.7%
4LMDB_0.9.2382.870+10.6%
5LMDB_0.9.2482.952+10.7%
6LMDB_0.9.2782.989+10.8%
7LMDB_0.9.2883.025+10.8%
8LMDB_0.9.2283.027+10.8%
9LMDB_0.9.2983.063+10.9%
10LMDB_0.9.3083.237+11.1%
11LMDB_0.9.2183.237+11.1%
12LMDB_0.9.3383.304+11.2%
13LMDB_0.9.2083.459+11.4%
14LMDB_0.9.3188.419+18.0%

Calculate xxHash64

RankLMDB Tagms/opvs Fastest
1LMDB_0.9.2739.087baseline
2LMDB_0.9.3139.224+0.3%
3LMDB_0.9.2839.251+0.4%
4LMDB_0.9.2939.269+0.5%
5LMDB_0.9.2139.350+0.7%
6LMDB_0.9.1739.389+0.8%
7LMDB_0.9.2039.450+0.9%
8LMDB_0.9.2439.482+1.0%
9LMDB_0.9.2239.637+1.4%
10LMDB_0.9.3039.681+1.5%
11LMDB_0.9.1839.685+1.5%
12LMDB_0.9.3340.183+2.8%
13LMDB_0.9.1943.163+10.4%
14LMDB_0.9.2344.051+12.7%

Iterate Sequentially

RankLMDB Tagms/opvs Fastest
1LMDB_0.9.2719.865baseline
2LMDB_0.9.2919.952+0.4%
3LMDB_0.9.3119.994+0.6%
4LMDB_0.9.3020.082+1.1%
5LMDB_0.9.3320.154+1.5%
6LMDB_0.9.2820.256+2.0%
7LMDB_0.9.1820.516+3.3%
8LMDB_0.9.2120.546+3.4%
9LMDB_0.9.2020.621+3.8%
10LMDB_0.9.2420.742+4.4%
11LMDB_0.9.2320.768+4.5%
12LMDB_0.9.2220.788+4.6%
13LMDB_0.9.1920.863+5.0%
14LMDB_0.9.1720.912+5.3%

Iterate Reverse

RankLMDB Tagms/opvs Fastest
1LMDB_0.9.2919.300baseline
2LMDB_0.9.2119.371+0.4%
3LMDB_0.9.3119.377+0.4%
4LMDB_0.9.1919.395+0.5%
5LMDB_0.9.2219.449+0.8%
6LMDB_0.9.3019.461+0.8%
7LMDB_0.9.2419.475+0.9%
8LMDB_0.9.2819.486+1.0%
9LMDB_0.9.3319.516+1.1%
10LMDB_0.9.2019.541+1.3%
11LMDB_0.9.1719.591+1.5%
12LMDB_0.9.2319.598+1.5%
13LMDB_0.9.2719.656+1.8%
14LMDB_0.9.1819.662+1.9%

Calculate CRC32

RankLMDB Tagms/opvs Fastest
1LMDB_0.9.2343.095baseline
2LMDB_0.9.2243.234+0.3%
3LMDB_0.9.2443.294+0.5%
4LMDB_0.9.2043.306+0.5%
5LMDB_0.9.3143.333+0.6%
6LMDB_0.9.2843.343+0.6%
7LMDB_0.9.2743.384+0.7%
8LMDB_0.9.3343.429+0.8%
9LMDB_0.9.3043.446+0.8%
10LMDB_0.9.2943.453+0.8%
11LMDB_0.9.1743.531+1.0%
12LMDB_0.9.1843.543+1.0%
13LMDB_0.9.1943.800+1.6%
14LMDB_0.9.2143.857+1.8%

Test Configuration

The benchmark was executed on 2025-11-06 using LmdbJava Benchmarks.

Each test run uses -Dlmdbjava.native.lib to ensure use of a specific LMDB library built from the identified LMDB tag. This isolates LmdbJava wrapper code during each benchmark, ensuring the only variation is the actual LMDB library.

All tests use the LmdbJava Agrona implementation with the following configuration:

Test Environment

CPUAMD Ryzen 9 7900 12-Core Processor (24 cores)
RAM62 GiB
OSLinux 6.17.7-arch1-1 (x86_64)
Java25.0.1
LmdbJavamaster#65df2ee

Benchmark Configuration