Skip to content
Michael Klimenko edited this page Jun 29, 2021 · 14 revisions

Boost headers signal compilation impact

Header Time, ms Relative slowdown
baseline.hpp 8.1 1
boost/accumulators/accumulators.hpp 3181.4 392.765
boost/algorithm/algorithm.hpp 707.9 87.3951
boost/align.hpp 536.2 66.1975
boost/any.hpp 1497.1 184.827
boost/array.hpp 882.2 108.914
boost/asio.hpp 3877.2 478.667
boost/assert.hpp 10.8 1.33333
boost/assign.hpp 1842.2 227.432
boost/atomic.hpp 255 31.4815
boost/beast.hpp 5487.8 677.506
boost/bimap.hpp 3028.9 373.938
boost/bind/bind.hpp 883.7 109.099
boost/call_traits.hpp 38.1 4.7037
boost/callable_traits.hpp 680.8 84.0494
boost/chrono.hpp 1862.2 229.901
boost/circular_buffer.hpp 1506.5 185.988
boost/compressed_pair.hpp 704.7 87
boost/concept_check.hpp 918.8 113.432
boost/config.hpp 36.1 4.45679
boost/container/flat_map.hpp 495.5 61.1728
boost/container/flat_set.hpp 450.1 55.5679
boost/container/slist.hpp 300.5 37.0988
boost/container/small_vector.hpp 317.4 39.1852
boost/container/stable_vector.hpp 407.7 50.3333
boost/container/static_vector.hpp 320.1 39.5185
boost/container_hash/hash.hpp 1436.6 177.358
boost/contract.hpp 4369.6 539.457
boost/convert.hpp 1482.3 183
boost/coroutine/all.hpp 2486.7 307
boost/coroutine2/all.hpp 1374.2 169.654
boost/crc.hpp 913.6 112.79
boost/date_time.hpp 4213.4 520.173
boost/dll.hpp 2283.3 281.889
boost/dynamic_bitset.hpp 1580.4 195.111
boost/exception/all.hpp 1778.3 219.543
boost/fiber/all.hpp 2315.8 285.901
boost/filesystem.hpp 1891.5 233.519
boost/flyweight.hpp 2721.9 336.037
boost/foreach.hpp 812.1 100.259
boost/format.hpp 1424 175.802
boost/function.hpp 1970.2 243.235
boost/function_types/function_type.hpp 616.4 76.0988
boost/functional.hpp 695.5 85.8642
boost/fusion/sequence.hpp 1869.8 230.84
boost/geometry.hpp 6745.6 832.79
boost/gil.hpp 2263.1 279.395
boost/graph/graph_traits.hpp 1525.8 188.37
boost/hana.hpp 529 65.3086
boost/heap/pairing_heap.hpp 2185 269.753
boost/histogram.hpp 1689.9 208.63
boost/hof.hpp 1411.3 174.235
boost/icl/interval.hpp 1714 211.605
boost/integer.hpp 84.5 10.4321
boost/intrusive_ptr.hpp 752.4 92.8889
boost/iterator.hpp 514.8 63.5556
boost/json.hpp 2475.3 305.593
boost/lambda/lambda.hpp 1514.2 186.938
boost/lexical_cast.hpp 2138.1 263.963
boost/local_function.hpp 2446.5 302.037
boost/locale.hpp 2395.3 295.716
boost/lockfree/queue.hpp 1639.3 202.383
boost/log/core/core.hpp 1621.9 200.235
boost/metaparse.hpp 3475.7 429.099
boost/multi_array.hpp 2165.1 267.296
boost/multi_index_container.hpp 1809.6 223.407
boost/multiprecision/integer.hpp 3709.6 457.975
boost/numeric/interval.hpp 958.5 118.333
boost/operators.hpp 551.6 68.0988
boost/optional.hpp 1082.3 133.617
boost/outcome.hpp 2389.3 294.975
boost/parameter.hpp 1328.7 164.037
boost/pfr.hpp 1030.1 127.173
boost/phoenix.hpp 6710.2 828.42
boost/poly_collection/any_collection.hpp 1969.5 243.148
boost/polygon/polygon.hpp 2515.7 310.58
boost/pool/pool.hpp 830 102.469
boost/preprocessor.hpp 125.9 15.5432
boost/process.hpp 7418.3 915.84
boost/program_options.hpp 3208.9 396.16
boost/property_map/property_map.hpp 1508.8 186.272
boost/property_tree/ptree.hpp 2900 358.025
boost/proto/proto.hpp 3235.9 399.494
boost/qvm/all.hpp 1665.8 205.654
boost/random.hpp 2153.7 265.889
boost/range.hpp 1593.7 196.753
boost/ratio.hpp 704.7 87
boost/rational.hpp 1024.3 126.457
boost/ref.hpp 41.8 5.16049
boost/regex.hpp 1738.2 214.593
boost/safe_numerics/safe_integer.hpp 1043.6 128.84
boost/scope_exit.hpp 1992.1 245.938
boost/serialization/serialization.hpp 622.8 76.8889
boost/signals2.hpp 2287.9 282.457
boost/smart_ptr.hpp 921.3 113.741
boost/sort/sort.hpp 1843.1 227.543
boost/spirit/include/classic.hpp 1721.3 212.506
boost/stacktrace.hpp 1078.2 133.111
boost/statechart/state.hpp 1401.5 173.025
boost/static_assert.hpp 41.7 5.14815
boost/swap.hpp 90 11.1111
boost/system/config.hpp 39 4.81481
boost/thread.hpp 4500.2 555.58
boost/throw_exception.hpp 114.4 14.1235
boost/timer/timer.hpp 531.7 65.642
boost/tokenizer.hpp 1066.5 131.667
boost/tti/tti.hpp 863.9 106.654
boost/tuple/tuple.hpp 464.9 57.3951
boost/type_erasure/any.hpp 1609 198.642
boost/type_index.hpp 1442.6 178.099
boost/type_traits.hpp 1215.1 150.012
boost/typeof/typeof.hpp 52.2 6.44444
boost/units/unit.hpp 986.1 121.741
boost/unordered_map.hpp 1672.3 206.457
boost/unordered_set.hpp 1639.1 202.358
boost/utility.hpp 116.9 14.4321
boost/uuid/uuid.hpp 119.9 14.8025
boost/variant.hpp 2192.7 270.704
boost/vmd/vmd.hpp 123.7 15.2716
boost/wave.hpp 5665.8 699.481
boost/xpressive/xpressive.hpp 4247.4 524.37
boost/yap/yap.hpp 781.2 96.4444

Top-5 boost headers signal compilation impact

Header Time, ms Relative slowdown
boost/process.hpp 7418.3 915.84
boost/geometry.hpp 6745.6 832.79
boost/phoenix.hpp 6710.2 828.42
boost/wave.hpp 5665.8 699.481
boost/beast.hpp 5487.8 677.506
Clone this wiki locally