Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
284 changes: 157 additions & 127 deletions BENCHMARKS.md

Large diffs are not rendered by default.

2,642 changes: 1,558 additions & 1,084 deletions benchmarks/data/desktop.json

Large diffs are not rendered by default.

2,929 changes: 1,847 additions & 1,082 deletions benchmarks/data/kixtop.json

Large diffs are not rendered by default.

1,346 changes: 673 additions & 673 deletions benchmarks/desktop-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,346 changes: 673 additions & 673 deletions benchmarks/desktop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 1 addition & 12 deletions benchmarks/gaps.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ operations = ["rsa2048-pkcs1-sha256-sign"]
on = ["nixos"]
reason = "Noise: other work kept 5 CPUs busy during this run, in which PSS signing, the same exponentiation, measured 0.95× graviola's time. Interleaved runs on `nixos` the same morning measured rind's PKCS#1 signing at 436 to 446 µs against graviola's 432 to 542 µs and ring's 459 to 568 µs. The next refresh rechecks it."

[[gap]]
operations = ["rustls-bulk/aes128-gcm", "xchacha20poly1305/1350B"]
on = ["desktop"]
reason = "Noise: other work kept 5 CPUs busy during this run. The run before it measured 0.99× ring's and 0.97× aws-lc-rs's time, and neither shows on another host. The next refresh rechecks both."

[[gap]]
operations = ["ed25519-verify"]
on = ["ovh-iad", "ovh-sea"]
Expand All @@ -53,7 +48,6 @@ operations = [
"aes128-gcm/32B",
"aes128-gcm/1350B",
"aes128-gcm-open/32B",
"aes128-gcm-open/1350B",
"aes256-gcm/32B",
"aes256-gcm/1350B",
"aes256-gcm-open/32B",
Expand All @@ -71,9 +65,4 @@ operations = [
"hkdf-sha256/expand",
]
on = ["kixtop"]
reason = "DIT: the M4 has it, and rind turns it on and off around every call that handles a secret, which costs about 35 to 55 ns a call there; the other libraries never set it. Keeping it per call was decided with the maintainer from [#387](https://github.com/moq-dev/rind/pull/387)'s findings. Holding `rind::cpu::Dit::hold()` ([#431](https://github.com/moq-dev/rind/pull/431)) across a batch of calls, as MoQ does, pays it once and closes every one of these gaps: rind-bench's `rind-dit-held` rows time that, and a run at [`ec4b720d`](https://github.com/moq-dev/rind/commit/ec4b720daadd41f8ab7f3669f262c678b1af8c89), noisy with other work on 1.1 CPUs, measured each within 10% of the fastest library, SHA-256 at 1350 B (1.10× ring's) and HMAC-SHA-256 at 64 B (1.10× RustCrypto's) at the edge."

[[gap]]
operations = ["xchacha20poly1305/32B"]
on = ["kixtop"]
reason = "Noise: a rerun of the row on the same commit measured 1.04× aws-lc-rs's time, as did the run before this one, on a commit that changed only x86_64 code. The next refresh rechecks it."
reason = "DIT: the M4 has it, and rind turns it on and off around every call that handles a secret, which costs about 30 to 55 ns a call there; the other libraries never set it. Keeping it per call was decided with the maintainer from [#387](https://github.com/moq-dev/rind/pull/387)'s findings. Holding `rind::cpu::Dit::hold()` ([#431](https://github.com/moq-dev/rind/pull/431)) across a batch of calls, as MoQ does, pays it once and closes all but one of these gaps: the rind (DIT held) column times that, and on [`9e7f6a5a`](https://github.com/moq-dev/rind/commit/9e7f6a5a9ea59a0cf1251c24af6c5d4f21c2b0fd), the run this report shows, every one measured within 10% of the fastest library except HMAC-SHA-256 at 64 B, at 1.10× RustCrypto's (109.7 ns against 99.4 ns)."
110 changes: 55 additions & 55 deletions benchmarks/headline-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
110 changes: 55 additions & 55 deletions benchmarks/headline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,500 changes: 779 additions & 721 deletions benchmarks/kixtop-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,500 changes: 779 additions & 721 deletions benchmarks/kixtop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,937 changes: 1,984 additions & 1,953 deletions benchmarks/overview-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,937 changes: 1,984 additions & 1,953 deletions benchmarks/overview.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion quest/m1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ Bun's fastest asymmetric operations run on rind, ahead of Bun writing its own.
- [Bun runs its fastest asymmetric crypto on rind](/quest/m1/bun.md) - Ed25519, X25519, P-384, and P-521 in Bun on rind, before Bun writes its own
- [The launch post can say what building rind cost in AI tokens, time, and money](/quest/m1/ai-usage.md) - tokens, agent and maintainer hours, and API-price cost, before the post
- [rind's launch blog post is published](/quest/m1/launch-post.md) - the Bun PR waits on it
- [The bench report has a quiet Arrow Lake run and kixtop's build cost](/quest/m1/bench-apple-m4.md) - a fresh desktop column and M4 build costs before the launch post
- [rind covers MoQ](/quest/m1/moq/README.md) - the primitives, CPU check, armv7 backend, and `rind-*` adapters MoQ needs, verified and released
16 changes: 0 additions & 16 deletions quest/m1/bench-apple-m4.md

This file was deleted.