Project

General

Profile

Actions

Task #4387

open

Use a real benchmarking library for benchmarks

Added by Davide Pesavento over 6 years ago. Updated almost 4 years 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.

Actions #1

Updated by Davide Pesavento over 6 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.

Actions #2

Updated by Teng Liang over 6 years ago

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

Actions #3

Updated by Davide Pesavento almost 6 years ago

  • Priority changed from Normal to Low
Actions #4

Updated by Davide Pesavento over 5 years ago

  • Tags changed from code-cleanup to CodeCleanup
Actions #5

Updated by Davide Pesavento about 4 years ago

  • Assignee deleted (Davide Pesavento)
Actions #6

Updated by Davide Pesavento almost 4 years ago

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

Actions #7

Updated by Davide Pesavento almost 4 years ago

  • Tags changed from CodeCleanup to code-cleanup
Actions

Also available in: Atom PDF