• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1===============================================================================
2Copyright (C) 2001-2007 Joel de Guzman, Dan Marsden, Tobias Schwinger
3
4Use, modification and distribution is subject to the Boost Software
5License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6http://www.boost.org/LICENSE_1_0.txt)
7===============================================================================
8
9Timing result for sequence_efficiency.cpp comparing the speed of various
10fusion sequences. The test involves accumulating the elements of the
11sequence which is primed to have values 0..N (N=size of sequence). Small,
12medium and big sequences are tested where:
13
14    small = 3 elements
15    medium = 10 elements
16    big = 30 elements
17
18Tester: Joel de Guzman. WinXP, P4-3.0GHZ, 2GB RAM
19
20VC7.1 (flags = /MD /O2 /EHsc /GS)
21
22    small vector time:                  1.870000e-006
23    small list time:                    1.870000e-006
24    medium vector time:                 1.880000e-006
25    medium list time:                   3.600000e-006
26    big vector time:                    2.030000e-006
27    big list time:                      8.910000e-006
28
29VC8.0 (flags = /MD /O2 /EHsc /GS)
30
31    small vector time:                  2.500000e-05
32    small list time:                    2.500000e-05
33    medium vector time:                 7.810000e-05
34    medium list time:                   7.810000e-05
35    big vector time:                    2.469000e-04
36    big list time:                      2.453000e-04
37
38G++ 3.4 (flags = -ftemplate-depth-128  -funroll-loops -O3 -finline-functions -Wno-inline -Wall)
39
40    small vector time:                  2.500000e-05
41    small list time:                    2.500000e-05
42    medium vector time:                 7.970000e-05
43    medium list time:                   7.970000e-05
44    big vector time:                    2.516000e-04
45    big list time:                      2.485000e-04
46
47Intel 9.1 (flags = /MD /O2 /EHsc /GS)
48
49    small vector time:                  1.125000e-006
50    small list time:                    1.125000e-006
51    medium vector time:                 1.125000e-006
52    medium list time:                   1.141000e-006
53    big vector time:                    1.140000e-006
54    big list time:                      1.141000e-006
55
56
57
58