Skip to content

Commit 6804ece

Browse files
gfxclaude
andcommitted
Update README with new benchmark numbers and wasm size
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4225011 commit 6804ece

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ Measured on Apple M3 Pro, macOS 15.7.3 (aarch64):
2929

3030
| Task | fpfmt | ryu | stdlib |
3131
|------|------:|----:|-------:|
32-
| **format** (f64 → string) | 102 ns | 164 ns | 535 ns |
33-
| **parse** (string → f64) | 797 ns || 702 ns |
32+
| **format** (f64 → string) | 63 ns | 164 ns | 535 ns |
33+
| **parse** (string → f64) | 738 ns || 702 ns |
3434

3535
```sh
3636
cargo bench -p bench
3737
```
3838

3939
## Wasm size
4040

41-
32,905 bytes for `short` + `parse` as a cdylib (`wasm32-unknown-unknown`, `-Os`).
41+
32,970 bytes for `short` + `parse` as a cdylib (`wasm32-unknown-unknown`, `-Oz`).
4242

4343
```sh
4444
RUSTFLAGS="-C opt-level=s" cargo build --target wasm32-unknown-unknown --release -p wasm-size

0 commit comments

Comments
 (0)