Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.82 KB

jmh.md

File metadata and controls

33 lines (23 loc) · 1.82 KB

JMH Test

JMH Annotations needs to be generated for running JMH tests. This generation is hooked into benchmark maven profile. Run following command to generate annotations -

./mvnw clean process-test-sources -P benchmark

JMH Tests do not have any assertions, these were used to manually run and see the performance.

Previous results

Benchmark Mode Cnt Score Error Units InMemoryTransactionStoreTest.getTraceContext thrpt 6 26907.709 ± 2006.064 ops/ms InMemoryTransactionStoreTest.getTraceContextComponent thrpt 6 12638.620 ± 451.721 ops/ms InMemoryTransactionStoreTest.getTransactionContext thrpt 6 180563.877 ± 569.346 ops/ms

After removing component span lookup Benchmark Mode Cnt Score Error Units InMemoryTransactionStoreTest.getTraceContext thrpt 6 47940.917 ± 896.087 ops/ms InMemoryTransactionStoreTest.getTraceContextComponent thrpt 6 27392.840 ± 430.036 ops/ms InMemoryTransactionStoreTest.getTransactionContext thrpt 6 179415.743 ± 770.880 ops/ms

Benchmark Mode Cnt Score Error Units InMemoryTransactionStoreTest.getTraceContext thrpt 6 50563.152 ± 793.521 ops/ms InMemoryTransactionStoreTest.getTraceContextComponent thrpt 6 13665.884 ± 528.655 ops/ms InMemoryTransactionStoreTest.getTransactionComponentContext thrpt 6 23648.576 ± 276.160 ops/ms InMemoryTransactionStoreTest.getTransactionContext thrpt 6 180368.524 ± 1052.989 ops/ms

Benchmark Mode Cnt Score Error Units ProcessorTracingInterceptorTest.interceptBefore thrpt 2 6163.569 ops/ms