uray
uray

Reputation: 11562

C++ unit test for testing performance (synthetic benchmark)

is there any library just like unit testing library, but instead of testing for correctness, its testing the performance of such functions, the output is execution time, cpu instruction count, performance variance, cache-miss, etc..

Upvotes: 6

Views: 1026

Answers (1)

perreal
perreal

Reputation: 97918

I use gprof and valgrind for performance profiling. They certainly work on Linux and you can pretty much do all the things you mention.

Upvotes: 2

Related Questions