Skip to content

Install Tally from its release branch, which brings CodSpeed's Valgrind - #7067

Merged
ondrejmirtes merged 1 commit into
2.3.xfrom
tally-release-branch
Nov 14, 2026
Merged

ondrejmirtes merged 1 commit into
2.3.xfrom
tally-release-branch

Conversation

@ondrejmirtes

Copy link
Copy Markdown
Member

phpstan/tally's release/1.x branch commits Tally's build of CodSpeed's Valgrind fork (3.26.0-0codspeed13, Callgrind only) and its tally_hooks PHP extension for PHP 8.2–8.6, NTS and ZTS, on x86_64 and arm64. Tally starts that Valgrind with the options codspeed run --mode=simulation uses, and loads the extension into the counted worker itself.

So the Benchmarks workflow no longer:

  • downloads and sets up the CodSpeed CLI,
  • builds CodSpeed's instrument-hooks,
  • enables ext-ffi.

The composer.lock entry for phpstan/tally points to dev-release/1.x at 9830078. Packagist's p2 metadata for the package hadn't caught up yet, so I built the entry from Packagist's package data with Composer's ArrayDumper, the same way Locker does. composer validate reports the lock as up to date, and the diff only touches that one entry.

release/1.x of phpstan/tally commits its build of CodSpeed's Valgrind fork
and its tally_hooks extension for every supported PHP version, so the
Benchmarks workflow no longer installs the CodSpeed CLI, builds
instrument-hooks, or enables FFI.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1d73a-bab0-7223-9245-50c2c00f22c7
@ondrejmirtes
ondrejmirtes merged commit b9bd427 into 2.3.x Nov 14, 2026
550 of 557 checks passed
@ondrejmirtes
ondrejmirtes deleted the tally-release-branch branch November 14, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant