Fields

hardware None
os None

Parameters

Fields

NameValue

Parameters

NameValue
git_commit commit aca28f10da54526a7955f62f090273b588888b6d
Author: Nikolas Klauser <nikolasklauser@berlin.de>
Date: Wed Nov 12 15:53:37 2025 +0100

[libc++] Optimize __tree copy/move constructor/assignment with allocator (#163558)

This patch applies the same optimization as implemented in #151304 to
the overloads taking an allocator as the second argument.

Apple M4:
```
Benchmark old new Difference % Difference
----------------------------------------------------------- -------------- -------------- ------------ --------------
std::map<int,_int>::ctor(&&,_different_allocs)/0 14.59 12.78 -1.81 -12.41%
std::map<int,_int>::ctor(&&,_different_allocs)/1024 16407.05 6265.11 -10141.94 -61.81%
std::map<int,_int>::ctor(&&,_different_allocs)/32 395.99 199.76 -196.23 -49.56%
std::map<int,_int>::ctor(&&,_different_allocs)/8192 141478.67 53767.84 -87710.83 -62.00%
std::map<int,_int>::ctor(const&,_alloc)/0 12.83 12.71 -0.12 -0.94%
std::map<int,_int>::ctor(const&,_alloc)/1024 9979.71 7849.11 -2130.59 -21.35%
std::map<int,_int>::ctor(const&,_alloc)/32 283.82 266.05 -17.77 -6.26%
std::map<int,_int>::ctor(const&,_alloc)/8192 81418.63 63190.41 -18228.21 -22.39%
std::map<std::string,_int>::ctor(&&,_different_allocs)/0 14.58 12.68 -1.90 -13.00%
std::map<std::string,_int>::ctor(&&,_different_allocs)/1024 19513.56 7806.04 -11707.52 -60.00%
std::map<std::string,_int>::ctor(&&,_different_allocs)/32 477.80 247.28 -230.52 -48.25%
std::map<std::string,_int>::ctor(&&,_different_allocs)/8192 504558.78 69592.21 -434966.56 -86.21%
std::map<std::string,_int>::ctor(const&,_alloc)/0 12.64 12.60 -0.04 -0.33%
std::map<std::string,_int>::ctor(const&,_alloc)/1024 43198.53 37220.54 -5977.99 -13.84%
std::map<std::string,_int>::ctor(const&,_alloc)/32 928.39 867.03 -61.36 -6.61%
std::map<std::string,_int>::ctor(const&,_alloc)/8192 461313.81 389200.82 -72112.99 -15.63%
```
Filter

ldionne-old-macbook-results test results

Run Order Start Time Duration
Current 559161 2025-12-16T16:40:01 0:00:00
Previous 559134 2025-12-16T16:40:01 0:00:00
Baseline 485288 2025-12-16T16:40:01 0:00:00


Tests Summary

Status Group # # (B)
Performance Regressions 1 0
Performance Improvements 2 0
Added Tests 0 16
Unchanged Tests 77 64
Total Tests 80

Performance Regressions - execution_time Δ Previous Current σ Δ (B) σ (B)
710_omnetpp_r 1.42% 8.386 8.504 - 0.00% -

Performance Improvements - execution_time Δ Previous Current σ Δ (B) σ (B)
735_gem5_r -2.41% 13.700 13.370 - 0.00% -
727_cppcheck_r -2.31% 25.065 24.486 - 0.00% -

Added Tests - execution_time
706_stockfish_r
707_ntest_r
709_cactus_r
710_omnetpp_r
721_gcc_r
723_llvm_r
727_cppcheck_r
729_abc_r
731_astcenc_r
735_gem5_r
736_ocio_r
737_gmsh_r
748_flightdm_r
750_sealcrypto_r
753_ns3_r
766_femflow_r


Report Time: 0.08s
Name Current %
706_stockfish_r 21.571 -
707_ntest_r 16.549 -
709_cactus_r 19.753 -
710_omnetpp_r 8.504 1.42%
721_gcc_r 12.967 -
723_llvm_r 11.555 -
727_cppcheck_r 24.486 -2.31%
729_abc_r 18.664 -
731_astcenc_r 10.069 -
735_gem5_r 13.370 -2.41%
736_ocio_r 16.208 -
737_gmsh_r 12.948 -
748_flightdm_r 8.848 -
750_sealcrypto_r 18.410 -
753_ns3_r 10.137 -
766_femflow_r 12.839 -
Geometric Mean 14.107 -