Update README.rst
This commit is contained in:
parent
8d07db0e0e
commit
dfad5f1d39
18
README.rst
18
README.rst
@ -265,15 +265,15 @@ equivalent is filled 2000000 times with output sent to ``/dev/null``; for
|
|||||||
further details see the `source
|
further details see the `source
|
||||||
<https://github.com/cppformat/format-benchmark/blob/master/tinyformat_test.cpp>`_.
|
<https://github.com/cppformat/format-benchmark/blob/master/tinyformat_test.cpp>`_.
|
||||||
|
|
||||||
============== ========
|
============== ============ ===========
|
||||||
test name run time
|
Library Method Run Time, s
|
||||||
============== ========
|
============== ============ ===========
|
||||||
libc printf 1.30s
|
EGLIBC 2.19 printf 1.30
|
||||||
std::ostream 1.85s
|
std::ostream operator<< 1.85
|
||||||
cppformat 1.42s
|
C++ Format 1.0 fmt::print 1.42
|
||||||
tinyformat 2.25s
|
tinyformat 2.0.1 tfm::printf 2.25
|
||||||
boost::format 9.94s
|
Boost Format 1.54 boost::format 9.94
|
||||||
============== ========
|
================= ============= ==========
|
||||||
|
|
||||||
As you can see boost::format is much slower than the alternative methods; this
|
As you can see boost::format is much slower than the alternative methods; this
|
||||||
is confirmed by `other tests <http://accu.org/index.php/journals/1539>`_.
|
is confirmed by `other tests <http://accu.org/index.php/journals/1539>`_.
|
||||||
|
Loading…
Reference in New Issue
Block a user