Skip to content

Commit

Permalink
Fix time conversion in BenchmarkTools comparison docs (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrhill authored Sep 11, 2024
1 parent 6301380 commit 8996ecf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ Benchmark results have the following fields:

| Chairmarks | BenchmarkTools | Description |
|------------------------|---------------------|------------------------|
| `x.time` | `x.time*1e9` | Runtime in seconds |
| `x.time/1e9` | `x.time` | Runtime in nanoseconds |
| `x.time` | `x.time/1e9` | Runtime in seconds |
| `x.time*1e9` | `x.time` | Runtime in nanoseconds |
| `x.allocs` | `x.allocs` | Number of allocations |
| `x.bytes` | `x.memory` | Number of bytes allocated across all allocations |
| `x.gc_fraction` | `x.gctime / x.time` | Fraction of time spent in garbage collection |
Expand Down

0 comments on commit 8996ecf

Please sign in to comment.