Skip to content

Commit 4a6af02

Browse files
authored
Update README benchmarks
1 parent 29852b2 commit 4a6af02

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ using Chairmarks, GeoInterface
7474
gj_bench = @be TGGeometry.contains($germany, $berlin)
7575
```
7676
```
77-
Benchmark: 2014 samples with 1 evaluation
78-
min 21.375 μs (72 allocs: 49.891 KiB)
79-
median 32.791 μs (72 allocs: 49.891 KiB)
80-
mean 44.772 μs (72 allocs: 49.891 KiB, 0.64% gc time)
81-
max 2.290 ms (72 allocs: 49.891 KiB, 96.10% gc time)
77+
Benchmark: 2566 samples with 1 evaluation
78+
min 22.333 μs (50 allocs: 49.203 KiB)
79+
median 28.792 μs (50 allocs: 49.203 KiB)
80+
mean 36.276 μs (50 allocs: 49.203 KiB, 0.40% gc time)
81+
max 12.164 ms (50 allocs: 49.203 KiB, 99.44% gc time)
8282
```
8383
```julia
8484
# Convert to TGGeom
@@ -88,10 +88,10 @@ tg_bench = @be TGGeometry.contains($germany_tg, $berlin)
8888
```
8989
```
9090
Benchmark: 2355 samples with 305 evaluations
91-
min 78.279 ns (1 allocs: 16 bytes)
92-
median 94.262 ns (1 allocs: 16 bytes)
93-
mean 131.635 ns (1 allocs: 16 bytes, 0.04% gc time)
94-
max 85.267 μs (1 allocs: 16 bytes, 99.75% gc time)
91+
min 32.029 ns (1 allocs: 16 bytes)
92+
median 42.329 ns (1 allocs: 16 bytes)
93+
mean 45.290 ns (1 allocs: 16 bytes, 0.04% gc time)
94+
max 3.553 μs (1 allocs: 16 bytes, 97.27% gc time)
9595
```
9696

97-
The prepared approach is about **340x** faster!
97+
The prepared approach is about **700x** faster!

0 commit comments

Comments
 (0)