Home

PLF Library - plf::hive vs boost::hub benchmarks - main page

Test machine setup

The test setup is an an Intel i3-8100 (Coffee lake core), 8GB ram.
All benchmarks run in windows safe mode in order to avoid latency spikes from networking, display drivers and services etc. All benchmarks built at x64 with default O2 optimisation levels, without CPU-specific extensions (eg. -march=native). The versions of hub and hive used respectively are those available publicly via their github repos (https://github.com/mattreecebentley/plf_hive and https://github.com/joaquintides/hub) on 18/05/2026, though I had to edit hub's memory() function as it was not adding sizeof(*this).

The source code for the benchmarks is here. Full spreadsheet data is on each compiler's page.

Results, graphs and averages

MSVC results are here.

GCC results are here.

Clang results are here.

For full explanations of each benchmark and the methodology used, see the general colony benchmark page here or this blog post.

Overall summary

Performance summaries vary across compilers and are at the bottom of each compiler's page. It's best to consult each page individually to get a clearer picture, particularly from the graphs. However general performance conclusions follow. Note that benchmark results may vary between CPUs (but probably not by that much for consumer ones at least).

Contact: footer
plf:: library and this page Copyright (c) 2026, Matthew Bentley.