hunt icon indicating copy to clipboard operation
hunt copied to clipboard

Add a performance test

Open sebastian-philipp opened this issue 9 years ago • 1 comments

We should add a performance test using criterion to detect bugs like #93 in the future. Mabe we can use travis-ci for executing a performace test that fails, if that takes longer than the last run?

sebastian-philipp avatar Aug 27 '14 23:08 sebastian-philipp

Yes we should do that.

I think, we should use the latest Criterion library for that. It not only tracks running time now but also provides memory statistics.

We could define upper bounds for both runtime and memory usage for specific tests and then let criterion verify that.

chrisreu avatar Aug 28 '14 00:08 chrisreu