zeromq / libzmq

ZeroMQ core engine in C++, implements ZMTP/3.1
https://www.zeromq.org
Mozilla Public License 2.0
9.53k stars 2.34k forks source link

Benchmark 'add' and 'rm' of generic_mtrie #4574

Closed gkhandake closed 9 months ago

gkhandake commented 1 year ago

Benchmark of 'add' and 'rm' operation of generic_mtrie

In my project we need to subscribe to lots of unique topics (prefixes). Following benchmark test helps to get performance measurement on publisher side when we have lots of topics to subscribe.

Following are the result of benchmark.

$ ./perf/benchmark_generic_mtrie 
prefixes = 1000000
[generic_mtrie::add]
Average operation time = 287.7 ns
[generic_mtrie::rm]
Average operation time = 189.1 ns
sonatype-lift[bot] commented 1 year ago

Sonatype Lift is retiring

Sonatype Lift will be retiring on Sep 12, 2023, with its analysis stopping on Aug 12, 2023. We understand that this news may come as a disappointment, and Sonatype is committed to helping you transition off it seamlessly. If you’d like to retain your data, please export your issues from the web console. We are extremely grateful and thank you for your support over the years.

📖 Read about the impacts and timeline

bluca commented 9 months ago

CI fails in several places, no answer since a few months, closing, if you are still interested please fix the builds and reopen it