Skip to content

gh-144384: Improve _colorize performance by replacing dataclass with regular class #182953

gh-144384: Improve _colorize performance by replacing dataclass with regular class

gh-144384: Improve _colorize performance by replacing dataclass with regular class #182953

Triggered via pull request February 16, 2026 15:07
Status Cancelled
Total duration 18m 23s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
10s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests with AWS-LC
Matrix: Ubuntu SSL tests with OpenSSL
Matrix: build-ubuntu
Matrix: build-windows-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: cifuzz
Waiting for pending jobs
Docs  /  Docs
1m 46s
Docs / Docs
Docs  /  Doctest
5m 35s
Docs / Doctest
Docs  /  Check EPUB
1m 57s
Docs / Check EPUB
Check if Autoconf files are up to date
24s
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
C API Docs  /  Check if all C APIs are documented
9s
C API Docs / Check if all C APIs are documented
iOS
17m 58s
iOS
WASI  /  build and test
4m 57s
WASI / build and test
Hypothesis tests on Ubuntu
9m 6s
Hypothesis tests on Ubuntu
Cross build Linux
4m 17s
Cross build Linux
Matrix: build-android
All required checks pass
4s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 20 warnings
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Sanitizers / UBSan
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Windows / Build and test (Win32)
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Windows / Build and test (Win32)
The operation was canceled.
Windows / Build and test (x64)
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Windows / Build and test (x64)
The operation was canceled.
Windows (free-threading) / Build and test (x64)
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Windows (free-threading) / Build and test (x64)
The operation was canceled.
Windows (free-threading) / Build and test (arm64)
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Windows (free-threading) / Build and test (arm64)
The operation was canceled.
Windows / Build and test (arm64)
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Windows / Build and test (arm64)
The operation was canceled.
Android (x86_64)
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Android (x86_64)
The operation was canceled.
Sanitizers / TSan (free-threading)
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Sanitizers / TSan (free-threading)
The operation was canceled.
iOS
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
iOS
The operation was canceled.
macOS / build and test (macos-15-intel)
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
macOS / build and test (macos-15-intel)
The operation was canceled.
All required checks pass
Process completed with exit code 1.
Tests
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Tests
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Tests
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Tests
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Tests
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Tests
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Tests
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Tests
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
Tests
Canceling since a higher priority waiting request for Tests-hugovk-3.15-colorize-performance exists
macOS / build and test (macos-14)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-14)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-14)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-14)
xz 5.8.2 is already installed and up-to-date. To reinstall 5.8.2, run: brew reinstall xz
macOS / build and test (macos-14)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
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-14)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS (free-threading) / build and test (macos-14)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS (free-threading) / build and test (macos-14)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS (free-threading) / build and test (macos-14)
xz 5.8.2 is already installed and up-to-date. To reinstall 5.8.2, run: brew reinstall xz
macOS (free-threading) / build and test (macos-14)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
Windows / Build and test (x64): Modules/unicodedata.c#L1496
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/unicodedata.c#L1496
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows (free-threading) / Build and test (arm64): Modules/unicodedata.c#L1496
'function': conversion from 'size_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows / Build and test (arm64): Modules/unicodedata.c#L1496
'function': conversion from 'size_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
macOS / build and test (macos-15-intel)
Already linked: /usr/local/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-15-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-15-intel)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-15-intel)
xz 5.8.2 is already installed and up-to-date. To reinstall 5.8.2, run: brew reinstall xz
macOS / build and test (macos-15-intel)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
17.7 KB
sha256:c8bef079ace4a24f582b9fbcd7fb4bfa2540b8c85c7742508529d8c6e3a9c8d4