From 37a8b786890f8aa73b44f5c6c2797469f6e6db4d Mon Sep 17 00:00:00 2001 From: Martchus Date: Tue, 11 Jul 2017 19:16:32 +0200 Subject: [PATCH] Update summary of stringbuilder benchmark So it matches new results of commit 17fe42e0adfae50ac9ed016155ce45e1938847c5 --- tests/stringbuilder-bench.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/stringbuilder-bench.md b/tests/stringbuilder-bench.md index edc07ec..15cbb84 100644 --- a/tests/stringbuilder-bench.md +++ b/tests/stringbuilder-bench.md @@ -46,6 +46,6 @@ diff (stringstream minus string builder): 00:00:10 factor (stringstream / string builder): 2.42857 ``` -So this basic tests show that string builder is up to 2 times faster when using full optimization -and still 1.4 times faster when using -O2 (default under Arch Linux). However, this templating -stuff completely relies on optimization (as expected). Results with clang++ where similar. +So this basic tests show that string builder is up to 3 times faster when using full optimization +and still 2 times faster when using -O2 (default under Arch Linux). However, without optimization it way +slower. Results with clang++ were similar.