lhotari commented on PR #24457: URL: https://github.com/apache/pulsar/pull/24457#issuecomment-3004265240
Latest benchmark results on Linux after removing System.nanoTime and making cache maintenance handled during the single threaded maintenance task: ``` Benchmark (testMode) Mode Cnt Score Error Units TopicNameBenchmark.topicLookup001 basic thrpt 3 8772255.043 ± 2202646.758 ops/s TopicNameBenchmark.topicLookup001:async basic thrpt NaN --- TopicNameBenchmark.topicLookup001 invalidateCache thrpt 3 7787641.717 ± 4826933.972 ops/s TopicNameBenchmark.topicLookup001:async invalidateCache thrpt NaN --- TopicNameBenchmark.topicLookup001 strongReferences thrpt 3 8697105.056 ± 2378331.526 ops/s TopicNameBenchmark.topicLookup001:async strongReferences thrpt NaN --- TopicNameBenchmark.topicLookup010 basic thrpt 3 59980650.077 ± 18606653.977 ops/s TopicNameBenchmark.topicLookup010:async basic thrpt NaN --- TopicNameBenchmark.topicLookup010 invalidateCache thrpt 3 54319848.644 ± 104656951.523 ops/s TopicNameBenchmark.topicLookup010:async invalidateCache thrpt NaN --- TopicNameBenchmark.topicLookup010 strongReferences thrpt 3 61755152.726 ± 28077697.228 ops/s TopicNameBenchmark.topicLookup010:async strongReferences thrpt NaN --- TopicNameBenchmark.topicLookup100 basic thrpt 3 93982448.999 ± 36720417.649 ops/s TopicNameBenchmark.topicLookup100:async basic thrpt NaN --- TopicNameBenchmark.topicLookup100 invalidateCache thrpt 3 81061925.069 ± 55132917.420 ops/s TopicNameBenchmark.topicLookup100:async invalidateCache thrpt NaN --- TopicNameBenchmark.topicLookup100 strongReferences thrpt 3 73160471.462 ± 47659030.231 ops/s TopicNameBenchmark.topicLookup100:async strongReferences thrpt NaN --- ``` [flamegraph](https://htmlpreview.github.io/?https://gist.githubusercontent.com/lhotari/3ce7dac107999cd9443aa894b37794fd/raw/fc0631acc41696c3d88fbc6f150f3daf0c80bb9b/flame-cpu-forward.html) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org