Update legend style
This commit is contained in:
parent
e165d8e27a
commit
ce1f3cdc3f
3 changed files with 9 additions and 5 deletions
|
@ -60,12 +60,13 @@
|
|||
}],
|
||||
|
||||
legend: {
|
||||
align: 'left',
|
||||
align: 'right',
|
||||
verticalAlign: 'top',
|
||||
y: 50,
|
||||
x: 100,
|
||||
floating: true,
|
||||
borderWidth: 0
|
||||
floating: false,
|
||||
layout: 'vertical',
|
||||
background: '#fff',
|
||||
borderWidth: 1,
|
||||
},
|
||||
|
||||
tooltip: {
|
||||
|
|
|
@ -55,5 +55,6 @@ void bench_append_csv(char *filename, int countOfB, ...);
|
|||
#define BENCHMARK_RECORD_CSV(filename, countOfB, ...) \
|
||||
bench_append_csv(filename, countOfB, __VA_ARGS__)
|
||||
|
||||
#define BR(b) &b;
|
||||
|
||||
#endif /* !BENCH_H */
|
||||
|
|
|
@ -703,7 +703,9 @@ r3_tree_insert_path(n, "/garply/grault/qux", NULL);
|
|||
r3_tree_insert_path(n, "/garply/grault/quux", NULL);
|
||||
r3_tree_insert_path(n, "/garply/grault/corge", NULL);
|
||||
|
||||
BENCHMARK(tree_compile)
|
||||
r3_tree_compile(n);
|
||||
END_BENCHMARK(tree_compile)
|
||||
|
||||
node *m;
|
||||
m = r3_tree_match(n , "/qux/bar/corge", NULL);
|
||||
|
@ -727,7 +729,7 @@ r3_tree_insert_path(n, "/garply/grault/corge", NULL);
|
|||
BENCHMARK_SUMMARY(pcre_dispatch);
|
||||
|
||||
|
||||
BENCHMARK_RECORD_CSV("bench_str.csv", 2, &string_dispatch, &pcre_dispatch);
|
||||
BENCHMARK_RECORD_CSV("bench_str.csv", 2, BR(string_dispatch), BR(pcre_dispatch), BR(tree_compile) );
|
||||
}
|
||||
END_TEST
|
||||
|
||||
|
|
Loading…
Reference in a new issue