Fields

hardware None
os None

Parameters

Fields

NameValue

Parameters

NameValue
git_commit commit 713839729c97d1ac9492c516d0bf5e1add27fbd3
Author: Nikolas Klauser <nikolasklauser@berlin.de>
Date: Sun Jun 29 17:52:50 2025 +0200

[Clang] Add __builtin_invoke and use it in libc++ (#116709)

`std::invoke` is currently quite heavy compared to a function call,
since it involves quite heavy SFINAE. This can be done significantly
more efficient by the compiler, since most calls to `std::invoke` are
simple function calls and 6 out of the seven overloads for `std::invoke`
exist only to support member pointers. Even these boil down to a few
relatively simple checks.

Some real-world testing with this patch revealed some significant
results. For example, instantiating `std::format("Banane")` (and its
callees) went down from ~125ms on my system to ~104ms.
Filter

ldionne-old-macbook-results test results

Run Order Start Time Duration
Current 542778 2025-12-16T16:40:01 0:00:00
Previous 542717 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 4 0
Added Tests 0 17
Unchanged Tests 80 68
Total Tests 85

Performance Regressions - execution_time Δ Previous Current σ Δ (B) σ (B)
753_ns3_r 1.72% 10.673 10.857 - 0.00% -

Performance Improvements - execution_time Δ Previous Current σ Δ (B) σ (B)
735_gem5_r -1.66% 14.036 13.803 - 0.00% -
727_cppcheck_r -1.58% 24.990 24.596 - 0.00% -
729_abc_r -1.44% 19.168 18.891 - 0.00% -
750_sealcrypto_r -1.23% 18.957 18.723 - 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
734_vpr_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 22.233 -
707_ntest_r 18.115 -
709_cactus_r 19.774 -
710_omnetpp_r 8.441 -
721_gcc_r 13.019 -
723_llvm_r 11.590 -
727_cppcheck_r 24.596 -1.58%
729_abc_r 18.891 -1.44%
731_astcenc_r 10.074 -
734_vpr_r 15.394 -
735_gem5_r 13.803 -1.66%
736_ocio_r 16.306 -
737_gmsh_r 13.225 -
748_flightdm_r 8.865 -
750_sealcrypto_r 18.723 -1.23%
753_ns3_r 10.857 1.72%
766_femflow_r 12.859 -
Geometric Mean 14.420 -