diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-20 01:22:45 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-20 02:21:37 +0900 |
| commit | f58f79ee30e16d5ef45553982b164904a99fb73f (patch) | |
| tree | dc3d63a23a67a4b504b806856e1552c14a5f34e8 /scripts/linters/composer.json | |
| parent | cd7c3fce2472656b2a1247429751e43350976677 (diff) | |
| download | php-shirabe-f58f79ee30e16d5ef45553982b164904a99fb73f.tar.gz php-shirabe-f58f79ee30e16d5ef45553982b164904a99fb73f.tar.zst php-shirabe-f58f79ee30e16d5ef45553982b164904a99fb73f.zip | |
perf(repository): take ownership of the decoded provider JSON
startCachedAsyncDownload's cached branch decoded the provider JSON into an
owned value and then rebuilt it entry by entry, recursively cloning every
package definition only to drop the original. Match the decoded value by
value instead. PHP hands the decoded array to the closure by COW, so no copy
happens there either.
laravel/framework require --no-install (warm cache, network disabled):
instructions:u 10276126917 -> 9884102191 (-3.8 %)
cycles:u 5048262624 -> 4777881212 (-5.4 %)
wall (hyperfine, 20 runs)
1.345 s +- 0.015 s -> 1.316 s +- 0.018 s (-2.2 %)
monolog/monolog is unchanged (100.7 ms -> 101.7 ms, within noise).
composer.lock is byte-identical for both packages.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'scripts/linters/composer.json')
0 files changed, 0 insertions, 0 deletions
