Tasks #822

Benchmark Baselines

Added by Anonymous about 9 years ago. Updated almost 9 years ago.

Status:In ProgressStart date:01/24/2012
Priority:NormalDue date:
Assignee:-% Done:

50%

Category:-
Target version:-

Description

Optionally benchmark against baselines:
  • Either from 3rd-party libraries
  • Or from older benchmarking runs

History

#1 Updated by M. Rolf almost 9 years ago

  • % Done changed from 0 to 50

It's now possible to create benchcases with "tags", that allow to distinguish different implementations of the same thing.
From the STL example:

NEMO_BENCH_CASE(Find__Vector)
    ...
    NEMO_SNIPPET_BEGIN()
        temp<std::vector<int>::iterator>::value = std::find( vec.begin(), vec.end(), bench_size_hint/2 );
    NEMO_SNIPPET_END()
NEMO_BENCH_CASE_END()
NEMO_BENCH_CASE(Find__List)
    ...
    NEMO_SNIPPET_BEGIN()
        temp<std::list<int>::iterator>::value = std::find( l.begin(), l.end(), bench_size_hint/2 );
    NEMO_SNIPPET_END()
NEMO_BENCH_CASE_END()

The two snippets are executed with the same case-name, yet different tags.

#2 Updated by M. Rolf almost 9 years ago

  • Status changed from New to In Progress

Also available in: Atom PDF