benchmarks: add logarithic methods.

Adds #fit_logarithmic & #assert_performance_logarithmic methods

Useful for testing, e.g. binary search algorithms