mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Update README.rst
This commit is contained in:
11
README.rst
11
README.rst
@ -166,15 +166,14 @@ Speed tests
|
|||||||
================= ============= ===========
|
================= ============= ===========
|
||||||
Library Method Run Time, s
|
Library Method Run Time, s
|
||||||
================= ============= ===========
|
================= ============= ===========
|
||||||
libc printf 1.01
|
libc printf 1.03
|
||||||
libc++ std::ostream 3.04
|
libc++ std::ostream 2.98
|
||||||
{fmt} 1632f72 fmt::print 0.86
|
{fmt} 4de41a fmt::print 0.76
|
||||||
tinyformat 2.0.1 tfm::printf 3.23
|
Boost Format 1.67 boost::format 7.24
|
||||||
Boost Format 1.67 boost::format 7.98
|
|
||||||
Folly Format folly::format 2.23
|
Folly Format folly::format 2.23
|
||||||
================= ============= ===========
|
================= ============= ===========
|
||||||
|
|
||||||
{fmt} is the fastest of the benchmarked methods, ~17% faster than ``printf``.
|
{fmt} is the fastest of the benchmarked methods, ~35% faster than ``printf``.
|
||||||
|
|
||||||
The above results were generated by building ``tinyformat_test.cpp`` on macOS
|
The above results were generated by building ``tinyformat_test.cpp`` on macOS
|
||||||
10.14.3 with ``clang++ -O3 -DSPEED_TEST -DHAVE_FORMAT``, and taking the best of
|
10.14.3 with ``clang++ -O3 -DSPEED_TEST -DHAVE_FORMAT``, and taking the best of
|
||||||
|
Reference in New Issue
Block a user