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.4 1
boost/accumulators/accumulators.hpp 3000.4 357.19
boost/algorithm/algorithm.hpp 693.667 82.5794
boost/align.hpp 495.733 59.0159
boost/any.hpp 1488.4 177.19
boost/array.hpp 872.933 103.921
boost/asio.hpp 3301.93 393.087
boost/assert.hpp 7.53333 0.896825
boost/assign.hpp 1781.2 212.048
boost/atomic.hpp 183.933 21.8968
boost/beast.hpp 4832.47 575.294
boost/bimap.hpp 2841.33 338.254
boost/bind.hpp 673 80.119
boost/call_traits.hpp 42.4 5.04762
boost/callable_traits.hpp 705.4 83.9762
boost/chrono.hpp 1665.13 198.23
boost/circular_buffer.hpp 1464.6 174.357
boost/compressed_pair.hpp 729.933 86.8968
boost/concept_check.hpp 898.4 106.952
boost/config.hpp 31.9333 3.80159
boost/container/flat_map.hpp 721.267 85.8651
boost/container/flat_set.hpp 695.467 82.7937
boost/container/slist.hpp 551.2 65.619
boost/container/small_vector.hpp 565.267 67.2937
boost/container/stable_vector.hpp 615.933 73.3254
boost/container/static_vector.hpp 558.067 66.4365
boost/container_hash/hash.hpp 1525.4 181.595
boost/contract.hpp 4118.2 490.262
boost/convert.hpp 1894 225.476
boost/coroutine/all.hpp 2902.8 345.571
boost/coroutine2/all.hpp 1381.53 164.468
boost/crc.hpp 903.8 107.595
boost/date_time.hpp 4394.6 523.167
boost/dll.hpp 2259.07 268.937
boost/dynamic_bitset.hpp 1619.2 192.762
boost/exception/all.hpp 1560.73 185.802
boost/fiber/all.hpp 2241.33 266.825
boost/filesystem.hpp 1871.8 222.833
boost/flyweight.hpp 2601.4 309.69
boost/foreach.hpp 779.2 92.7619
boost/format.hpp 1411.73 168.063
boost/function.hpp 1905.53 226.849
boost/function_types/function_type.hpp 551.8 65.6905
boost/functional.hpp 708.533 84.3492
boost/fusion/sequence.hpp 1796.2 213.833
boost/geometry.hpp 6622.2 788.357
boost/gil.hpp 2561.27 304.913
boost/graph/graph_traits.hpp 1530.93 182.254
boost/hana.hpp 493.4 58.7381
boost/heap/pairing_heap.hpp 1974.87 235.103
boost/histogram.hpp 1838.13 218.825
boost/hof.hpp 1402.47 166.96
boost/icl/interval.hpp 1604.07 190.96
boost/integer.hpp 92.7333 11.0397
boost/intrusive_ptr.hpp 678.2 80.7381
boost/iterator.hpp 544.467 64.8175
boost/lambda/lambda.hpp 1722.47 205.056
boost/lexical_cast.hpp 2351.53 279.944
boost/local_function.hpp 2330.8 277.476
boost/locale.hpp 2374.73 282.706
boost/lockfree/queue.hpp 1575.67 187.579
boost/log/core/core.hpp 1668.33 198.611
boost/metaparse.hpp 4135.33 492.302
boost/multi_array.hpp 2055.53 244.706
boost/multi_index_container.hpp 1695.6 201.857
boost/multiprecision/integer.hpp 3902.8 464.619
boost/numeric/interval.hpp 1000.53 119.111
boost/operators.hpp 571.267 68.0079
boost/optional.hpp 1013.87 120.698
boost/outcome.hpp 2118.6 252.214
boost/parameter.hpp 1287.93 153.325
boost/phoenix.hpp 6490.27 772.651
boost/poly_collection/any_collection.hpp 1776.73 211.516
boost/polygon/polygon.hpp 2474.13 294.54
boost/pool/pool.hpp 741.133 88.2302
boost/preprocessor.hpp 141.133 16.8016
boost/process.hpp 6006.07 715.008
boost/program_options.hpp 3427.4 408.024
boost/property_map/property_map.hpp 1480.2 176.214
boost/property_tree/ptree.hpp 2723.67 324.246
boost/proto/proto.hpp 2971.47 353.746
boost/qvm/all.hpp 1981.93 235.944
boost/random.hpp 2486.27 295.984
boost/range.hpp 1524.07 181.437
boost/ratio.hpp 644.733 76.754
boost/rational.hpp 1040.27 123.841
boost/ref.hpp 34.0667 4.05556
boost/regex.hpp 2015.33 239.921
boost/safe_numerics/safe_integer.hpp 911.333 108.492
boost/scope_exit.hpp 1918.13 228.349
boost/serialization/serialization.hpp 637.133 75.8492
boost/signals2.hpp 3287.13 391.325
boost/smart_ptr.hpp 908.4 108.143
boost/sort/sort.hpp 1765.27 210.151
boost/spirit/include/classic.hpp 2818.4 335.524
boost/stacktrace.hpp 1049.13 124.897
boost/statechart/state.hpp 1245.47 148.27
boost/static_assert.hpp 33.0667 3.93651
boost/swap.hpp 686.867 81.7698
boost/system/config.hpp 37.2667 4.43651
boost/thread.hpp 4109.6 489.238
boost/throw_exception.hpp 92.8 11.0476
boost/timer.hpp 70.0667 8.34127
boost/tokenizer.hpp 1068.93 127.254
boost/tti/tti.hpp 768.533 91.4921
boost/tuple/tuple.hpp 720.8 85.8095
boost/type_erasure/any.hpp 1610.67 191.746
boost/type_index.hpp 1476.6 175.786
boost/type_traits.hpp 1239.2 147.524
boost/typeof/typeof.hpp 41 4.88095
boost/units/unit.hpp 914.933 108.921
boost/unordered_map.hpp 1636.07 194.77
boost/unordered_set.hpp 1730.73 206.04
boost/utility.hpp 95.2 11.3333
boost/uuid/uuid.hpp 122.533 14.5873
boost/variant.hpp 2090.53 248.873
boost/vmd/vmd.hpp 113.467 13.5079
boost/wave.hpp 5307.4 631.833
boost/xpressive/xpressive.hpp 4124.4 491
boost/yap/yap.hpp 728.8 86.7619

Top-5 boost headers signal compilation impact

Header Time, ms Relative slowdown
boost/geometry.hpp 6622.2 788.357
boost/phoenix.hpp 6490.27 772.651
boost/process.hpp 6006.07 715.008
boost/wave.hpp 5307.4 631.833
boost/beast.hpp 4832.47 575.294
Clone this wiki locally