Skip to content

gh-117431: Improve performance of startswith and endswith #141498

gh-117431: Improve performance of startswith and endswith

gh-117431: Improve performance of startswith and endswith #141498

Triggered via pull request February 10, 2025 16:00
Status Success
Total duration 23m 0s
Artifacts

build.yml

on: pull_request
Change detection  /  Create context from changed files
24s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build_macos
Matrix: build_tsan
Matrix: build_ubuntu
Matrix: Ubuntu SSL tests with OpenSSL
Matrix: build_windows
Matrix: build_windows_msi
Waiting for pending jobs
Matrix: CIFuzz
Docs  /  Docs
2m 9s
Docs / Docs
Docs  /  Doctest
4m 44s
Docs / Doctest
Check if Autoconf files are up to date
22s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 45s
Check if generated files are up to date
WASI  /  build and test
5m 47s
WASI / build and test
Hypothesis tests on Ubuntu
8m 19s
Hypothesis tests on Ubuntu
Cross build Linux
9m 30s
Cross build Linux
All required checks pass
3s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

1 error and 77 warnings
Docs / Docs
Process completed with exit code 2.
Docs / Docs
Cache not found for keys: setup-python-Linux-x64-24.04-Ubuntu-python-3.13.2-pip-385058066b0abb3df032eeb4ea8c6ebef4577478ccd81167dddc04dffbf4cd9a, setup-python-Linux-x64-24.04-Ubuntu-python-3.13.2-pip
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.1.7)
Cache not found for keys: ccache-
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.1.7)
Cache not found for keys: ubuntu-24.04-multissl-openssl-3.1.7
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.1.7)
Cache not found for keys: build_ubuntu_ssltests-Linux-20250202.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Check if generated files are up to date
Cache not found for keys: ccache-
Check if generated files are up to date
Cache not found for keys: check_generated_files-Linux-20250202.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c-/opt/hostedtoolcache/Python/3.13.1/x64
Docs / Doctest
Cache not found for keys: ubuntu-doc-385058066b0abb3df032eeb4ea8c6ebef4577478ccd81167dddc04dffbf4cd9a, ubuntu-doc-
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.3)
Cache not found for keys: ccache-
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.3)
Cache not found for keys: ubuntu-24.04-multissl-openssl-3.2.3
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.3)
Cache not found for keys: build_ubuntu_ssltests-Linux-20250202.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.3)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.4.0)
Cache not found for keys: ccache-
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.4.0)
Cache not found for keys: build_ubuntu_ssltests-Linux-20250209.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.4.0)
Cache not found for keys: ubuntu-24.04-multissl-openssl-3.4.0
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
Cache not found for keys: build_macos-ghcr.io/cirruslabs/macos-runner:sonoma--14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
pkgconf 2.3.0_1 is already installed and up-to-date. To reinstall 2.3.0_1, run: brew reinstall pkgconf
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
xz 5.6.3 is already installed and up-to-date. To reinstall 5.6.3, run: brew reinstall xz
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated dependents or dependents with broken linkage!
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.2)
Cache not found for keys: ubuntu-24.04-multissl-openssl-3.3.2
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.2)
Cache not found for keys: build_ubuntu_ssltests-Linux-20250202.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.2)
Cache not found for keys: ccache-
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.2)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.15)
Cache not found for keys: ubuntu-24.04-multissl-openssl-3.0.15
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.15)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.15)
Cache not found for keys: ccache-
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.15)
Cache not found for keys: build_ubuntu_ssltests-Linux-20250202.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
Cache not found for keys: build_macos-ghcr.io/cirruslabs/macos-runner:sonoma--14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
pkgconf 2.3.0_1 is already installed and up-to-date. To reinstall 2.3.0_1, run: brew reinstall pkgconf
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
xz 5.6.3 is already installed and up-to-date. To reinstall 5.6.3, run: brew reinstall xz
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated dependents or dependents with broken linkage!
WASI / build and test
Cache not found for keys: Linux-wasi-sdk-24
WASI / build and test
Cache not found for keys: build_wasi_reusable-Linux--24-wasmtime-cli 22.0.0 (761f044ef 2024-06-20) -14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c-232ea1e046a607e9cd47a532f1c91c25d3ae3e49b3306b5b05eaa8264bddf5a1-/opt/hostedtoolcache/Python/3.13.1/x64
WASI / build and test
Cache not found for keys: build_wasi_reusable-Linux--24-wasmtime-cli 22.0.0 (761f044ef 2024-06-20) -14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c-232ea1e046a607e9cd47a532f1c91c25d3ae3e49b3306b5b05eaa8264bddf5a1-/opt/hostedtoolcache/Python/3.13.1/x64
WASI / build and test
Cache not found for keys: ccache-
Thread sanitizer / Thread sanitizer
Cache not found for keys: build_tsan_reusable-Linux-20250202.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Thread sanitizer / Thread sanitizer
Cache not found for keys: ccache-
Ubuntu / build and test (ubuntu-22.04-arm)
Cache not found for keys: build_ubuntu_reusable-Linux-0.0.10-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Ubuntu / build and test (ubuntu-22.04-arm)
Cache not found for keys: ubuntu-22.04-arm-multissl-openssl-3.0.15
Ubuntu / build and test (ubuntu-22.04-arm)
Cache not found for keys: ccache-
Hypothesis tests on Ubuntu
No files were found with the provided path: /home/runner/work/cpython/cpython-builddir/.hypothesis/examples/. No artifacts will be uploaded.
Hypothesis tests on Ubuntu
Cache not found for keys: Linux-multissl-openssl-3.0.15
Hypothesis tests on Ubuntu
Cache not found for keys: hypothesis-database-tailmatch_v2, hypothesis-database-
Hypothesis tests on Ubuntu
Cache not found for keys: test_hypothesis-Linux-20250202.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Hypothesis tests on Ubuntu
Cache not found for keys: ccache-
Ubuntu (free-threading) / build and test (ubuntu-22.04-arm)
Cache not found for keys: build_ubuntu_reusable-Linux-0.0.10-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Ubuntu (free-threading) / build and test (ubuntu-22.04-arm)
Cache not found for keys: ccache-
Ubuntu (free-threading) / build and test (ubuntu-22.04-arm)
Cache not found for keys: ubuntu-22.04-arm-multissl-openssl-3.0.15
Ubuntu (free-threading) / build and test (ubuntu-22.04-arm)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Ubuntu (free-threading) / build and test (ubuntu-22.04-arm)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Cross build Linux
Cache not found for keys: cross-build-linux-Linux-20250202.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Thread sanitizer (free-threading) / Thread sanitizer
Cache not found for keys: build_tsan_reusable-Linux-20250209.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Thread sanitizer (free-threading) / Thread sanitizer
Cache not found for keys: ccache-
Ubuntu / build and test (ubuntu-24.04)
Cache not found for keys: ubuntu-24.04-multissl-openssl-3.0.15
Ubuntu / build and test (ubuntu-24.04)
Cache not found for keys: ccache-
Ubuntu / build and test (ubuntu-24.04)
Cache not found for keys: build_ubuntu_reusable-Linux-20250202.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Ubuntu / build and test (ubuntu-24.04)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
macOS / build and test (macos-13)
Cache not found for keys: build_macos-macos-13-20250127.624-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
macOS / build and test (macos-13)
pkgconf 2.3.0_1 is already installed and up-to-date. To reinstall 2.3.0_1, run: brew reinstall pkgconf
macOS / build and test (macos-13)
xz 5.6.4 is already installed and up-to-date. To reinstall 5.6.4, run: brew reinstall xz
macOS / build and test (macos-13)
gdbm 1.24 is already installed and up-to-date. To reinstall 1.24, run: brew reinstall gdbm
macOS / build and test (macos-13)
tcl-tk@8 8.6.16 is already installed and up-to-date. To reinstall 8.6.16, run: brew reinstall tcl-tk@8
macOS / build and test (macos-13)
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated dependents or dependents with broken linkage!
Address sanitizer (ubuntu-24.04)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Address sanitizer (ubuntu-24.04)
Cache not found for keys: build_asan-Linux-20250202.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Address sanitizer (ubuntu-24.04)
Cache not found for keys: ubuntu-24.04-multissl-openssl-3.0.15
Address sanitizer (ubuntu-24.04)
Cache not found for keys: ccache-
Ubuntu (free-threading) / build and test (ubuntu-24.04)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Ubuntu (free-threading) / build and test (ubuntu-24.04)
Cache not found for keys: ccache-
Ubuntu (free-threading) / build and test (ubuntu-24.04)
Cache not found for keys: build_ubuntu_reusable-Linux-20250202.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Ubuntu (free-threading) / build and test (ubuntu-24.04)
Cache not found for keys: ubuntu-24.04-multissl-openssl-3.0.15
Ubuntu (free-threading) / build and test (ubuntu-24.04)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Ubuntu (bolt) / build and test (ubuntu-24.04)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Ubuntu (bolt) / build and test (ubuntu-24.04)
Cache not found for keys: ubuntu-24.04-multissl-openssl-3.0.15
Ubuntu (bolt) / build and test (ubuntu-24.04)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Ubuntu (bolt) / build and test (ubuntu-24.04)
Cache not found for keys: build_ubuntu_reusable-Linux-20250202.1.0-14c70ddb319ba853abccf9df633f087002d95b28683ca00586aa8d0cfa0ab30c
Ubuntu (bolt) / build and test (ubuntu-24.04)
Cache not found for keys: ccache-