2 Copyright Oliver Kowalke 2009.
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt
8 [section:performance Performance]
10 Performance of __boost_coroutine__ was measured on the platforms shown in the
11 following table. Performance measurements were taken using `rdtsc` and
12 `boost::chrono::high_resolution_clock`, with overhead corrections, on x86
13 platforms. In each case, cache warm-up was accounted for, and the one
14 running thread was pinned to a single CPU.
16 [table Performance of asymmetric coroutines
20 [construction (protected stack-allocator)]
21 [construction (preallocated stack-allocator)]
22 [construction (standard stack-allocator)]
25 [i386 (AMD Athlon 64 DualCore 4400+, Linux 32bit)]
27 [51 \u00b5s / 51407 cycles]
28 [14 \u00b5s / 15231 cycles]
29 [14 \u00b5s / 15216 cycles]
32 [x86_64 (Intel Core2 Q6700, Linux 64bit)]
34 [16 \u00b5s / 41802 cycles]
35 [6 \u00b5s / 10350 cycles]
36 [6 \u00b5s / 18817 cycles]
40 [table Performance of symmetric coroutines
44 [construction (protected stack-allocator)]
45 [construction (preallocated stack-allocator)]
46 [construction (standard stack-allocator)]
49 [i386 (AMD Athlon 64 DualCore 4400+, Linux 32bit)]
51 [27 \u00b5s / 28002 cycles]
56 [x86_64 (Intel Core2 Q6700, Linux 64bit)]
58 [10 \u00b5s / 22828 cycles]