aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/dependency_resolver/rule_set_iterator.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-18 01:38:06 +0900
committernsfisis <nsfisis@gmail.com>2026-07-18 01:38:06 +0900
commit4ae58baf8618f5fe916ba2a69faaca93514134ce (patch)
tree447e69cea836737db705b357bcc0f85c558062da /crates/shirabe/src/dependency_resolver/rule_set_iterator.rs
parent6991ca4c577382651139c70ebfe944eaf959796b (diff)
downloadphp-shirabe-4ae58baf8618f5fe916ba2a69faaca93514134ce.tar.gz
php-shirabe-4ae58baf8618f5fe916ba2a69faaca93514134ce.tar.zst
php-shirabe-4ae58baf8618f5fe916ba2a69faaca93514134ce.zip
perf(json-file): buffer schema file reads in FileRetriever
serde_json::from_reader issues one read() syscall per byte against an unbuffered Reader. FileRetriever passed a raw File straight through, so resolving the composer-schema.json $ref read its ~71KB contents one byte at a time (twice per require, since schema validation runs both before and during the update). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/dependency_resolver/rule_set_iterator.rs')
0 files changed, 0 insertions, 0 deletions