Fields

hardware None
os None

Parameters

Fields

NameValue

Parameters

NameValue
git_commit commit 427a5cf105c409993c812f4fb1868bac96fce0c5
Author: Louis Dionne <ldionne.2@gmail.com>
Date: Thu Nov 7 09:23:21 2024 -0500

[libc++] Add support for bounded iterators in std::array (#110729)

This patch introduces a new kind of bounded iterator that knows the size
of its valid range at compile-time, as in std::array. This allows computing
the end of the range from the start of the range and the size, which requires
storing only the start of the range in the iterator instead of both the start
and the size (or start and end). The iterator wrapper is otherwise identical
in design to the existing __bounded_iter.

Since this requires changing the type of the iterators returned by
std::array, this new bounded iterator is controlled by an ABI flag.

As a drive-by, centralize the tests for std::array::operator[] and add
missing tests for OOB operator[] on non-empty arrays.

Fixes #70864
Filter

ldionne-old-macbook-results test results

Run Order Start Time Duration
Current 517442 2025-12-16T16:40:01 0:00:00
Previous 517439 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 18
Unchanged Tests 87 72
Total Tests 90

Performance Regressions - execution_time Δ Previous Current σ Δ (B) σ (B)
734_vpr_r 1.12% 15.446 15.619 - 0.00% -

Performance Improvements - execution_time Δ Previous Current σ Δ (B) σ (B)
727_cppcheck_r -2.13% 26.355 25.795 - 0.00% -
729_abc_r -1.39% 18.955 18.691 - 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
767_nest_r


Report Time: 0.15s
Name Current %
706_stockfish_r 22.080 -
707_ntest_r 17.886 -
709_cactus_r 19.697 -
710_omnetpp_r 8.524 -
721_gcc_r 12.901 -
723_llvm_r 11.469 -
727_cppcheck_r 25.795 -2.13%
729_abc_r 18.691 -1.39%
731_astcenc_r 10.010 -
734_vpr_r 15.619 1.12%
735_gem5_r 13.754 -
736_ocio_r 16.213 -
737_gmsh_r 13.006 -
748_flightdm_r 8.931 -
750_sealcrypto_r 18.355 -
753_ns3_r 10.456 -
766_femflow_r 12.784 -
767_nest_r 14.187 -
Geometric Mean 14.351 -