This commit is contained in:
c9s 2014-05-17 07:49:17 +08:00
parent e0c67acc61
commit 5a4312d473

View file

@ -612,16 +612,7 @@ START_TEST(benchmark_str)
printf("Benchmarking...\n"); printf("Benchmarking...\n");
BENCHMARK(string_dispatch) BENCHMARK(string_dispatch)
/* r3_tree_match(n , "/qux/bar/corge", strlen("/qux/bar/corge"), NULL);
double s = microtime();
long N = 5000000;
for (int i = 0; i < 5000000 ; i++ ) {
*/
r3_tree_match(n , "/qux/bar/corge", strlen("/qux/bar/corge"), NULL);
/*
}
double e = microtime();
*/
END_BENCHMARK() END_BENCHMARK()
bench_print_summary(&B); bench_print_summary(&B);