diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-18 01:38:06 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-18 01:38:06 +0900 |
| commit | 4ae58baf8618f5fe916ba2a69faaca93514134ce (patch) | |
| tree | 447e69cea836737db705b357bcc0f85c558062da /crates/shirabe/src/util/process_executor.rs | |
| parent | 6991ca4c577382651139c70ebfe944eaf959796b (diff) | |
| download | php-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/util/process_executor.rs')
0 files changed, 0 insertions, 0 deletions
