benchmarks: more reasonable threaded double to string results
This commit is contained in:
parent
5de5ffb764
commit
46f19ff185
1 changed files with 3 additions and 3 deletions
|
@ -778,17 +778,17 @@ int main( int argc, char** argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
test3 runner(1000000,10);
|
test3 runner(100000,10);
|
||||||
benchmark(runner,"double to string conversion with std::ostringstream");
|
benchmark(runner,"double to string conversion with std::ostringstream");
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
test4 runner(1000000,10);
|
test4 runner(100000,10);
|
||||||
benchmark(runner,"double to string conversion with mapnik::util_to_string");
|
benchmark(runner,"double to string conversion with mapnik::util_to_string");
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
test5 runner(1000000,10);
|
test5 runner(100000,10);
|
||||||
benchmark(runner,"double to string conversion with snprintf");
|
benchmark(runner,"double to string conversion with snprintf");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue