2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-19 14:22:23 +00:00
Files
fiber/doc/performance.qbk
2014-02-22 21:38:24 +01:00

25 lines
713 B
Plaintext

[/
Copyright Oliver Kowalke 2009.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt
]
[section:performance Performance]
Performance measurements were taken using `boost::chrono::highresolution_clock`,
with overhead corrections.
The code was compiled using the build options,
'variant = release cxxflags = -DBOOST_DISABLE_ASSERTS optimization = speed'.
The numbers in the table are the number of ns, based upon an
average computed over 1000 iterations.
[table Perfomance of coroutine switch
[[thread] [qthread] [tbb] [fiber]]
[[37114 ns] [577 ns] [309 ns] [1124 ns]]
]
[endsect]