Skip to content

Commit 4d24c88

Browse files
committed
update README with new benchmarks
1 parent 50b3dcb commit 4d24c88

File tree

1 file changed

+20
-22
lines changed

1 file changed

+20
-22
lines changed

README.md

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,26 @@ using QuadGK
2626
using FresnelIntegrals
2727

2828
julia> @benchmark fresnelc(1.8)
29-
BenchmarkTools.Trial:
30-
memory estimate: 0 bytes
31-
allocs estimate: 0
32-
--------------
33-
minimum time: 410.815 ns (0.00% GC)
34-
median time: 412.035 ns (0.00% GC)
35-
mean time: 426.088 ns (0.00% GC)
36-
maximum time: 1.017 μs (0.00% GC)
37-
--------------
38-
samples: 10000
39-
evals/sample: 200
29+
BenchmarkTools.Trial: 10000 samples with 772 evaluations.
30+
Range (min max): 161.448 ns 1.744 μs ┊ GC (min max): 0.00% 0.00%
31+
Time (median): 163.927 ns ┊ GC (median): 0.00%
32+
Time (mean ± σ): 164.460 ns ± 16.519 ns ┊ GC (mean ± σ): 0.00% ± 0.00%
33+
34+
▃▄▂ ▁▇█▄ ▁ ▃▄▂▁ ▁▁▁ ▂
35+
███▇▁▃▁▁▁▁▁▁▁▁▁▁▅▇▅█████▁▄▄▄▆▆▅▆▆█▇▆█████▇▆▅▅▇██████▇▇▆▇▇▆▅▆ █
36+
161 ns Histogram: log(frequency) by time 168 ns <
37+
38+
Memory estimate: 0 bytes, allocs estimate: 0.
4039

4140
julia> @benchmark quadgk(t->cos*t^2/2),0,1.8)
42-
BenchmarkTools.Trial:
43-
memory estimate: 1.00 KiB
44-
allocs estimate: 42
45-
--------------
46-
minimum time: 2.181 μs (0.00% GC)
47-
median time: 2.250 μs (0.00% GC)
48-
mean time: 3.357 μs (31.54% GC)
49-
maximum time: 7.919 ms (99.89% GC)
50-
--------------
51-
samples: 10000
41+
BenchmarkTools.Trial: 10000 samples with 187 evaluations.
42+
Range (min max): 548.321 ns 48.949 μs ┊ GC (min max): 0.00% 98.43%
43+
Time (median): 554.893 ns ┊ GC (median): 0.00%
44+
Time (mean ± σ): 599.010 ns ± 558.147 ns ┊ GC (mean ± σ): 2.25% ± 3.29%
5245

53-
```
46+
▅█▆▂▄▃▃▁▁▁▁▁ ▂▁ ▁▁▁▁▂▁ ▁
47+
███████████████▇▅▆▅▄▃▅▄▅▅▅▄▄▃▄████████▇▇▆▆▇▆▆▆▇▇▇▇▇█████████▇ █
48+
548 ns Histogram: log(frequency) by time 754 ns <
49+
50+
Memory estimate: 368 bytes, allocs estimate: 2.
51+
```

0 commit comments

Comments
 (0)