Task #4387

Use a real benchmarking library for benchmarks

Added by Davide Pesavento almost 3 years ago. Updated 4 months ago.

Integration Tests
Target version:
Start date:
Due date:
% Done:


Estimated time:


Most of our benchmarks are written using Boost.Test, which is a unit testing framework therefore not designed for benchmarking. There are several open-source C++ frameworks that help writing benchmarks and provide a more detailed statistical analysis of the results. I suggest switching our benchmarks to use one of these frameworks.


Updated by Davide Pesavento almost 3 years ago

  • Assignee set to Davide Pesavento

I'm currently looking at Nonius, which we can include as a git submodule, but I'm open to suggestions.


Updated by Teng Liang almost 3 years ago

This article went through three libraries to create and execute micro benchmarks, including Hayai, Celero and Nonius, which seems helpful.


Updated by Davide Pesavento about 2 years ago

  • Priority changed from Normal to Low

Updated by Davide Pesavento about 2 years ago

  • Tags changed from code-cleanup to CodeCleanup

Updated by Davide Pesavento 7 months ago

  • Assignee deleted (Davide Pesavento)

Updated by Davide Pesavento 5 months ago

There are also and (both seems more maintained than the alternatives listed above)


Updated by Davide Pesavento 4 months ago

  • Tags changed from CodeCleanup to code-cleanup

Also available in: Atom PDF