From a95b3f7ee132a3376efd68b2228e919663138df2 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 10 Feb 2015 19:31:22 -0800 Subject: [PATCH] Update README.rst --- README.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index a418f923..d73d7e29 100644 --- a/README.rst +++ b/README.rst @@ -269,18 +269,20 @@ further details see the `source ============== ======== test name run time ============== ======== -libc printf 1.28s -std::ostream 2.09s -cppformat 1.32s -tinyformat 2.55s -boost::format 10.42s +libc printf 1.30s +std::ostream 1.85s +cppformat 1.42s +tinyformat 2.25s +boost::format 9.94s ============== ======== As you can see boost::format is much slower than the alternative methods; this is confirmed by `other tests `_. Tinyformat is quite good coming close to IOStreams. Unfortunately tinyformat cannot be faster than the IOStreams because it uses them internally. -Performance of format is close to that of printf. +Performance of cppformat is close to that of printf. cppformat is [faster on +integer formatting](http://zverovich.net/2013/09/07/integer-to-string-conversion-in-cplusplus.html), +but slower on floating-point formatting which dominates this benchmark. Compile time and code bloat ~~~~~~~~~~~~~~~~~~~~~~~~~~~