Show the speed chart and a headline figure near the top of the README

Merged
BO
1mo ago
+9-7

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:

FigureSource
1.31 µs (sigflint) and 5.56 µs (aws4), plain S3 GET on NodeNode 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 times5,564 / 1,313 = 4.24
6,582 requeststest/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.md and the three test corpora in test/.

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.