Files
coroutine/doc/performance.qbk
Oliver Kowalke 3675d0146e remove optional<>
2014-01-21 19:07:13 +01:00

43 lines
1.3 KiB
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 of __boost_coroutine__ was measured on the platforms shown in the
following table. Performance measurements were taken using `rdtsc` and
`boost::chrono::high_resolution_clock`, with overhead corrections, on x86
platforms. In each case, cache warm-up was accounted for, and the one
running thread was pinned to a single CPU. The code was compiled using the
build options, 'variant = release cxxflags = -DBOOST_DISABLE_ASSERTS'.
[table Perfomance of coroutine
[
[Platform]
[switch]
[construction (protected stack-allocator)]
[construction (simple stack-allocator)]
[construction (preallocated stack-allocator)]
]
[
[i386 [footnote AMD Athlon 64 DualCore 4400+]]
[78 ns / 77 cycles]
[188868 ns / 245093 cycles]
[31860 ns / 31812 cycles]
[13127 ns / 19764 cycles]
]
[
[x86_64 [footnote Intel Core2 Q6700]]
[28 ns / 74 cycles]
[46916 ns / 109569 cycles]
[14368 ns / 22705 cycles]
[6114 ns / 16728 cycles]
]
]
[endsect]