Skip to content

gh-158897: Optimize io.BufferedReader.readline() by calling memchr() #212483

gh-158897: Optimize io.BufferedReader.readline() by calling memchr()

gh-158897: Optimize io.BufferedReader.readline() by calling memchr() #212483

Triggered via pull request October 7, 2026 00:31
Status Cancelled
Total duration 10m 6s
Artifacts 2

build.yml

on: pull_request
Change detection  /  Create context from changed files
14s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows
Matrix: cifuzz
Docs  /  Doctest
2m 33s
Docs / Doctest
Docs  /  Check EPUB
2m 25s
Docs / Check EPUB
Check if Autoconf files are up to date
28s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 51s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
8s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
7m 46s
Ubuntu (installed) / build, install and test
iOS
9m 34s
iOS
Emscripten  /  build and test
7m 45s
Emscripten / build and test
WASI  /  build and test
4m 26s
WASI / build and test
Hypothesis tests on Ubuntu
2m 51s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
7m 47s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
4m 53s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
2s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

100 errors, 4 warnings, and 12 notices
Docs / Docs
Process completed with exit code 255.
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Docs / Doctest
Process completed with exit code 2.
Hypothesis tests on Ubuntu
Process completed with exit code 1.
WASI / build and test
Process completed with exit code 2.
CIFuzz / cpython3 (undefined)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
CIFuzz / cpython3 (undefined)
The operation was canceled.
CIFuzz / cpython3 (memory)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
CIFuzz / cpython3 (memory)
The operation was canceled.
CIFuzz / cpython3 (address)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
CIFuzz / cpython3 (address)
The operation was canceled.
Windows / Build and test (Win32, switch-case)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Windows / Build and test (Win32, switch-case)
The operation was canceled.
Windows (free-threading) / Build and test (x64, tail-call)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Windows (free-threading) / Build and test (x64, tail-call)
The operation was canceled.
Windows (free-threading) / Build and test (x64, switch-case)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Windows (free-threading) / Build and test (x64, switch-case)
The operation was canceled.
Windows / Build and test (x64, tail-call)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Windows / Build and test (x64, tail-call)
The operation was canceled.
Windows (free-threading) / Build and test (arm64, switch-case)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Windows (free-threading) / Build and test (arm64, switch-case)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 4.0.3)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 4.0.3)
The operation was canceled.
Windows / Build and test (x64, switch-case)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.5.9)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Windows / Build and test (x64, switch-case)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.5.9)
The operation was canceled.
Emscripten / build and test
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Emscripten / build and test
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.6.5)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.6.5)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 1.1.1w)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 1.1.1w)
The operation was canceled.
Ubuntu (bolt) / build and test (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Ubuntu (bolt) / build and test (ubuntu-26.04)
The operation was canceled.
Windows / Build and test (arm64, switch-case)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Windows / Build and test (arm64, switch-case)
The operation was canceled.
Ubuntu (free-threading) / build and test (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Ubuntu (free-threading) / build and test (ubuntu-26.04)
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, aws-lc, 5.10.0)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Ubuntu SSL tests (ubuntu-26.04, aws-lc, 5.10.0)
The operation was canceled.
Sanitizers / UBSan
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Sanitizers / UBSan
The operation was canceled.
Sanitizers / TSan
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Sanitizers / TSan
The operation was canceled.
Android (x86_64)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Android (x86_64)
The operation was canceled.
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm)
The operation was canceled.
Lazy imports enabled / Run Tests with lazy_imports=all
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Lazy imports enabled / Run Tests with lazy_imports=all
The operation was canceled.
Sanitizers / TSan (free-threading)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Sanitizers / TSan (free-threading)
The operation was canceled.
Ubuntu (installed) / build, install and test
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Ubuntu (installed) / build, install and test
The operation was canceled.
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.4.8)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.4.8)
The operation was canceled.
Sanitizers / MSan
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Sanitizers / MSan
The operation was canceled.
Ubuntu / build and test (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Ubuntu / build and test (ubuntu-26.04)
The operation was canceled.
Address sanitizer (ubuntu-26.04)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Address sanitizer (ubuntu-26.04)
The operation was canceled.
Ubuntu / build and test (ubuntu-26.04-arm)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Ubuntu / build and test (ubuntu-26.04-arm)
The operation was canceled.
macOS (free-threading) / build and test (macos-26)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
macOS (free-threading) / build and test (macos-26)
The operation was canceled.
macOS / build and test (macos-26-intel)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
macOS / build and test (macos-26-intel)
The operation was canceled.
macOS / build and test (macos-26)
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
macOS / build and test (macos-26)
The operation was canceled.
iOS
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
iOS
The operation was canceled.
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
All required checks pass
Process completed with exit code 1.
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
Tests
Canceling since a higher priority waiting request for Tests-vstinner-readline_memchr exists
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.
macOS (free-threading) / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Change detection / Create context from changed files
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
C API Docs / Check if all C APIs are documented
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Docs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Check EPUB
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Android (aarch64)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
CIFuzz / cpython3 (undefined)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CIFuzz / cpython3 (memory)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CIFuzz / cpython3 (address)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
macOS (free-threading) / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
macOS / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
iOS
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
All required checks pass
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"

Artifacts

Produced during runtime
Name Size Digest
MSan-logs-default
209 Bytes
sha256:c0ee292186f87da5d1b8f8445375585be9501fd7fe7c380af87a167a9290024e
UBSan-logs-default
364 Bytes
sha256:4244003b556520a89a8116d112844facc48d40461277798a227351288c8baf1b