Skip to content

Commit

Permalink
docs: Update benchmark results
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrence-laz authored Sep 21, 2024
1 parent a0fc042 commit 2b88031
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ const string = try json.stringifyAlloc(
```

```md
Benchmark 1: std.json
Time (mean ± σ): 151.7 ms ± 0.9 ms [User: 147.1 ms, System: 4.1 ms]
Range (min … max): 149.2 ms … 153.2 ms 19 runs
Benchmark 1: stdjson
Time (mean ± σ): 143.6 ms ± 1.1 ms [User: 140.5 ms, System: 2.7 ms]
Range (min … max): 141.5 ms … 146.6 ms 20 runs

Benchmark 2: jaysan
Time (mean ± σ): 56.0 ms ± 1.1 ms [User: 53.8 ms, System: 1.8 ms]
Range (min … max): 53.3 ms … 57.9 ms 50 runs
Time (mean ± σ): 48.5 ms ± 0.8 ms [User: 47.0 ms, System: 1.2 ms]
Range (min … max): 46.4 ms … 50.0 ms 60 runs

Summary
jaysan ran
2.71 ± 0.05 times faster than std.json
jaysan
2.96 ± 0.05 times faster than stdjson/zig-out/bin/zig-exe
```

0 comments on commit 2b88031

Please sign in to comment.