Fields

hardware None
os None

Parameters

Fields

NameValue

Parameters

NameValue
git_commit commit 274a4c0c03af8f37108479328285299414268cfa
Author: Alcaro <floating@muncher.se>
Date: Fri Nov 21 13:59:38 2025 +0100

[libc++] Optimize std::has_single_bit (#133063)

Clang translates most implementations of has_single_bit to `(v ^ (v-1))
> v-1` - except the one definition libc++ actually uses.

Proof of correctness: https://godbolt.org/z/d61bxW4r1

(Could also be fixed by teaching Clang to optimize better, but making
source match output feels clearer to me. And it improves unoptimized
performance.)
Filter

ldionne-old-macbook-results test results

Run Order Start Time Duration
Current 560255 2025-12-16T16:40:01 0:00:00
Previous 560036 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.14% 8.521 8.617 - 0.00% -

Performance Improvements - execution_time Δ Previous Current σ Δ (B) σ (B)
723_llvm_r -1.41% 11.675 11.510 - 0.00% -
727_cppcheck_r -1.11% 24.856 24.581 - 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.13s
Name Current %
706_stockfish_r 21.636 -
707_ntest_r 16.455 -
709_cactus_r 19.708 -
710_omnetpp_r 8.617 1.14%
721_gcc_r 12.956 -
723_llvm_r 11.510 -1.41%
727_cppcheck_r 24.581 -1.11%
729_abc_r 18.803 -
731_astcenc_r 10.069 -
735_gem5_r 13.275 -
736_ocio_r 16.192 -
737_gmsh_r 12.843 -
748_flightdm_r 8.910 -
750_sealcrypto_r 18.555 -
753_ns3_r 10.207 -
766_femflow_r 12.867 -
Geometric Mean 14.127 -