performance.qbk 1.1 KB

12345678910111213141516171819202122232425262728
  1. [/
  2. / Copyright (c) 2009 Steven Watanabe
  3. /
  4. / Distributed under the Boost Software License, Version 1.0. (See
  5. / accompanying file LICENSE_1_0.txt or copy at
  6. / http://www.boost.org/LICENSE_1_0.txt)
  7. ]
  8. For some people, performance of random number generation is an important
  9. consideration when choosing a random number generator or a particular
  10. distribution function. This page provides numerous performance tests with
  11. the wide variety of generators and distributions available in the boost
  12. library.
  13. The performance has been evaluated on an Intel(R) Core(TM) i7
  14. CPU Q 840 @ 1.87GHz, 1867 Mhz with Visual C++ 2010, Microsoft
  15. Windows 7 Professional and with gcc 4.4.5, Ubuntu Linux 2.6.35-25-generic.
  16. The speed is reported in million random numbers
  17. per second (M rn/sec), generated in a tight loop.
  18. [include generator_performance_linux.qbk]
  19. [include generator_performance_windows.qbk]
  20. Note that the lagged Fibonacci and ranlux_01 generators produce
  21. floating-point numbers, whereas all others produce integers.
  22. [include distribution_performance_linux.qbk]
  23. [include distribution_performance_windows.qbk]