performance.qbk 788 B

12345678910111213141516171819202122232425
  1. [/
  2. Copyright Oliver Kowalke 2014.
  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
  6. ]
  7. [section:performance Performance]
  8. Performance measurements were taken using `std::chrono::highresolution_clock`,
  9. with overhead corrections.
  10. The code was compiled with gcc-6.3.1, using build options:
  11. variant = release, optimization = speed.
  12. Tests were executed on dual Intel XEON E5 2620v4 2.2GHz, 16C/32T, 64GB RAM,
  13. running Linux (x86_64).
  14. [table Performance of context switch
  15. [[using __fcontext__] [using [@boost:/libs/context/doc/html/context/cc.html#implementation ucontext_t]]]
  16. [
  17. [26 ns / 56 CPU cycles]
  18. [542 ns / 1146 CPU cycles]
  19. ]
  20. ]
  21. [endsect]