SimpleNetBenchmark provides simple api to benchmark your code.