Skip to content

Commit acc52c4

Browse files
committed
Update timings
1 parent 691f5cf commit acc52c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ julia> unitful = convert(Unitful.Quantity, dyn_uni)
2929

3030
julia> f(x, i) = x ^ i * 0.3;
3131

32-
julia> @btime f($dyn_uni, i) setup=(i=rand(1:10));
33-
10.719 ns (0 allocations: 0 bytes)
32+
julia> @btime f($dyn_uni, 1);
33+
8.759 ns (0 allocations: 0 bytes)
3434

35-
julia> @btime f($unitful, i) setup=(i=rand(1:10));
36-
30.583 μs (42 allocations: 1.91 KiB)
35+
julia> @btime f($unitful, 1);
36+
30.083 μs (42 allocations: 1.91 KiB)
3737
```
3838

3939
**(Note the μ and n.)**

0 commit comments

Comments
 (0)