Project

General

Profile

Task #4387

Use a real benchmarking library for benchmarks

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

Status:
New
Priority:
Low
Assignee:
-
Category:
Integration Tests
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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.

#1

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.

#2

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.

#3

Updated by Davide Pesavento about 2 years ago

  • Priority changed from Normal to Low
#4

Updated by Davide Pesavento about 2 years ago

  • Tags changed from code-cleanup to CodeCleanup
#5

Updated by Davide Pesavento 7 months ago

  • Assignee deleted (Davide Pesavento)
#6

Updated by Davide Pesavento 5 months ago

There are also https://github.com/google/benchmark and https://github.com/martinus/nanobench (both seems more maintained than the alternatives listed above)

#7

Updated by Davide Pesavento 4 months ago

  • Tags changed from CodeCleanup to code-cleanup

Also available in: Atom PDF