21 Commits

Author SHA1 Message Date
Ion Gaztañaga e77969feda Refactor hub bench into a more generia bench_node_cont.hpp so that we can also test other node based containers like list 2026-06-21 13:10:03 +02:00
Ion Gaztañaga 2c6d4ee341 Insert barriers so that memset/memcpy writes under NONTRIVIAL_ELEMENT are not optimized away by the compiler. 2026-06-19 14:22:50 +02:00
Ion Gaztañaga 387d5a54ef Add BOOST_IF_CONSTEXPR to constant condition 2026-06-18 20:03:10 +02:00
Ion Gaztañaga 176bf09890 Improve benchmark:
- Add clearing
- Add two or thre containers in some test cases to increase benchmarked time
2026-06-12 00:02:52 +02:00
Ion Gaztañaga 242c567d20 Put hub.hpp at the top-level 2026-06-05 23:46:41 +02:00
Ion Gaztañaga 65f61afdd3 Enable agagin commented code in benchmark 2026-06-05 15:37:02 +02:00
Ion Gaztañaga c6137cc970 Added LONG_BENCH option and new geomeans per erasure rate in the general summary 2026-06-05 10:55:48 +02:00
Ion Gaztañaga 47a98ed1fe Renamed "emplace" as "quick_emplace" and recover strong exception guarantee for "emplace". 2026-06-05 00:37:12 +02:00
Ion Gaztañaga ff18b26c0f Add elapsed time. 2026-06-04 11:19:14 +02:00
Ion Gaztañaga e18fd8802c Replace std::string filling to avoid gcc warnings 2026-06-03 23:17:54 +02:00
Ion Gaztañaga 79d6f9fd9f Use nsec clock 2026-06-03 18:11:20 +02:00
Ion Gaztañaga ab73834d26 Add geomeans per test 2026-06-02 12:47:24 +02:00
Ion Gaztañaga 36dbb7445e Changed implementation to support several element sizes in single benchmark 2026-06-01 14:25:21 +02:00
Ion Gaztañaga aaee5c0f0d Add erase ratio geomean 2026-05-29 15:34:49 +02:00
Ion Gaztañaga dddce5beaa Update "hub" to the post-review version and update "nest", its test and benchamarks accordingly. 2026-05-25 21:55:00 +02:00
Ion Gaztañaga 2b0a09462c Put fastest, allocation only, tests first to avoid allocation pollution for subsequent tests 2026-04-22 23:18:12 +02:00
Ion Gaztañaga 9d49cef31b Make sure erase wrappers are inlined 2026-04-22 01:10:16 +02:00
Ion Gaztañaga 1eded9b487 Fix warnings for old GCCs and make it work without exceptions 2026-04-20 13:30:46 +02:00
Ion Gaztañaga 4f72690084 Make non-trivial element with memset in the constructor 2026-04-20 00:46:50 +02:00
Ion Gaztañaga 9bb9ac07aa Fix Wsign-conversion warnings 2026-04-12 21:09:11 +02:00
Ion Gaztañaga 7afb76786b Added bench for hub vs nest 2026-04-06 20:04:36 +02:00