Show the speed chart and a headline figure near the top of the README
Merged
BO
1mo ago+9+9+0123456789-7-7-0123456789
A reader now sees one speed figure before the first code sample and the speed chart right after the four feature bullets, instead of further down under Benchmarks.
- Adds one line above the first code sample: "Signs an S3 GET in 1.31 µs on Node, 4.2 times as fast as
aws4, with the same signatures as botocore on 6,582 test requests." - Moves the speed chart and its caption, unchanged, from the Benchmarks section to just under the Correct, Fast, Small and Everywhere bullets. The Benchmarks section keeps its links.
Where the figures come from:
| Figure | Source |
|---|---|
| 1.31 µs (sigflint) and 5.56 µs (aws4), plain S3 GET on Node | Node speed table in docs/benchmarks.md; raw medians 1,313 ns and 5,564 ns in bench/results/rerun-3-node-bun.md |
| 4.2 times | 5,564 / 1,313 = 4.24 |
| 6,582 requests | test/corpus.json (3,360) + test/corpus-general.json (1,622) + test/corpus-presign.json (1,600), each matched against botocore |
npm run check passes.
Summary by cubic
Moves the speed chart and adds a headline speed figure near the top of the README so readers see the performance story before the first code sample.
- Adds one line above the first code sample: "Signs an S3 GET in 1.31 µs on Node, 4.2 times as fast as
aws4, with the same signatures as botocore on 6,582 test requests." - Moves the speed chart and its caption, unchanged, from the Benchmarks section to just under the four feature bullets; the Benchmarks section keeps its links.
- Figures come from the existing Node speed table in
docs/benchmarks.mdand the three test corpora intest/.
Summary by CodeRabbit
- Documentation
- Added benchmark results reporting S3 GET signing speed and signature compatibility.
- Updated the Benchmarks section to link to detailed results; removed its chart and caption.