Answer the question
In order to leave comments, you need to log in
Looking for a C++ Code Performance Testing Library?
There is a program for the implementation of the functionality of which there are many algorithms with many parameters. All algorithms work in a single-threaded environment. It is necessary to evaluate the performance of each of them.
Here it is necessary to remember that each environment has its own time measurement methods: somewhere it is QueryPerformanceFrequency/GetSystemTime, somewhere it is clock_gettime/gettimeofday/boost::timer/clock. On some platforms , rdtsc / HPET works . For each case of these functions, the wheel is reinvented.
Unit test syntax expected:
TEST(DecompessTest, 100, 10) {
CASE (Compressor1) {
decompress(data1, TYPE_ONE);
}
CASE (Compressor2) {
decompress(data2, TYPE_TWO);
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question