roadmap

What the review read and ran

An appendix to the milestone.

The crate

partsfoundry/universal_serial_bus at 4612f6b5e5ef739fa1ad6f14b3ca182cca0d1fd5, version 0.1.0, publish = false. Read: Cargo.toml, README.md, CHANGELOG.md, docs/stranger-test.md and every module under src/ (descriptor, request, boot_keyboard and verification), and the two fuzz targets by name.

The commands

Run on a Linux x86_64 host, an Intel Xeon Platinum 8160, in an exported copy of the repository.

The benchmark

A scratch binary depending on this crate by path and on nusb =0.2.9, built with cargo run --release under rustc 1.100.0. Each figure is the best of seven runs of ten million calls, after a warm-up of one million, with inputs and outputs passed through std::hint::black_box.

what ns per call
find_boot_keyboard 41.6
nusb 0.2.9 walk 75.5
two BootReport::parse and changes 40.4
the Linux loop, ported 19.0

The comparators read

Each .crate from crates.io at the version in the prior-art table, unpacked and read.

The systems outside Rust

OpenBSD's files are under BSD licenses and Linux's under the GPL; the review read them for behavior only and copied no text.

What was not run