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 560248 2025-12-16T16:40:01 0:00:00
Baseline 485288 2025-12-16T16:40:01 0:00:00


Tests Summary

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

Performance Improvements - execution_time Δ Previous Current σ Δ (B) σ (B)
727_cppcheck_r -1.71% 25.010 24.581 - 0.00% -
735_gem5_r -1.29% 13.449 13.275 - 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.11s