From 5a4312d47322f1fcb9199f0a95b42d343e4efa42 Mon Sep 17 00:00:00 2001 From: c9s Date: Sat, 17 May 2014 07:49:17 +0800 Subject: [PATCH] clean up --- tests/check_tree.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tests/check_tree.c b/tests/check_tree.c index 0072199..053b893 100644 --- a/tests/check_tree.c +++ b/tests/check_tree.c @@ -612,16 +612,7 @@ START_TEST(benchmark_str) printf("Benchmarking...\n"); BENCHMARK(string_dispatch) - /* - 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(); - */ + r3_tree_match(n , "/qux/bar/corge", strlen("/qux/bar/corge"), NULL); END_BENCHMARK() bench_print_summary(&B);