Profiling and optimizations, bench tool