Skip to content

mini-benchmarker, a compact benchmarker that let's you benchmark either a selected piece of code, or a callable and keep track of a benchmark series.

Notifications You must be signed in to change notification settings

fedora0xffff/mini-benchmarker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

This is a simple benchmarker, that can be used as a way to compare the speed of different code. It is planned on to add a higher precision benchmarker class to the existing set.

Build

mkdir build && cd build && cmake ..

To make the demo binary:

make mini-bench_demo

To make the shared library:

make mini-bench

To install the lib:

sudo make install mini-bench

Usage

demo

Use mini-bench_demo <bench-type> <complexity> to see the demo. For example, mini-bench_demo scoped 10000 to see the scoped benchmark results on operation with complexity 10000 (inserts to a vector with reserve vs without)

See mini-bench_demo --help for more info on demo usage.

TODO

  • add a higher precision benchmarker (less overhead)

About

mini-benchmarker, a compact benchmarker that let's you benchmark either a selected piece of code, or a callable and keep track of a benchmark series.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published