Skip to content

Commit 6931b8b

Browse files
authored
ENH: add benchmark results for geofileops 0.10.0 (#49)
1 parent 0964c95 commit 6931b8b

13 files changed

+22
-7
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ci:
22
autofix_prs: false
3-
autoupdate_schedule: weekly
3+
autoupdate_schedule: quarterly
44

55
repos:
66
- repo: https://github.com/astral-sh/ruff-pre-commit

benchmarks_vector_ops/benchmarks_geopandas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def intersection(tmp_dir: Path) -> RunResult:
215215
return result
216216

217217

218-
def symdif_complexpolys_agri(tmp_dir: Path) -> RunResult:
218+
def _symdif_complexpolys_agri(tmp_dir: Path) -> RunResult:
219219
"""Symmetric difference between very complex polygons and standard polygons.
220220
221221
The complex polygons are created as such:

environment-vector-ops.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ name: geobenchmark-vector-ops
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.11
6-
- pip
5+
- python=3.12
76
# required
87
- dask-geopandas
98
- geofileops
109
- geopandas-base
1110
- matplotlib-base
12-
- pyogrio
1311
# linting
12+
- mypy
13+
- pandas-stubs
1414
- ruff
15-
- pre-commit
15+
- pre-commit
16+

project.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
[tool.pyright]
2+
exclude = ["local_ignore"]
3+
ignore = ["*"]
4+
5+
[[tool.mypy.overrides]]
6+
module = "geopandas.*,matplotlib.*,pyogrio.*,setuptools.*,shapely.*"
7+
ignore_missing_imports = true
8+
19
[tool.ruff]
210
line-length = 88
311
target-version = "py39"

results_vector_ops/GeoBenchmark.png

-1.29 KB
Loading

results_vector_ops/benchmark_results.csv

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,9 @@ run_datetime,package,package_version,operation,operation_descr,secs_taken,run_de
7171
2024-07-22 17:20:30.557312,geopandas,1.0.1,union,union of 2 agri parcel layers BEFL (2*~500k polygons),1222.984603,
7272
2024-12-25 23:13:48.688617,geopandas,1.0.1,symdif_complexpolys_agri,symdif_complexpolys_agri between agri parcels (515k polys) and 3 multipolys of 4 * 30k coords,123082.498898,
7373
2024-12-26 07:36:50.564389,geofileops,0.9.1,symdif_complexpolys_agri,symdif_complexpolys_agri between agri parcels (515k polys) and 3 multipolys of 4 * 30k coords,1422.775628,{'nb_cpu': 12}
74+
2025-03-27 11:32:10.465666,geofileops,0.10.0,buffer,buffer on agri parcel layer BEFL (~500k polygons),15.983914,{'nb_cpu': 12}
75+
2025-03-27 11:32:41.934925,geofileops,0.10.0,dissolve_groupby,"dissolve on agri parcels BEFL (~500k polygons), groupby=[GWSGRPH_LB]",31.33877,{'nb_cpu': 12}
76+
2025-03-27 11:33:13.748741,geofileops,0.10.0,dissolve,dissolve on agri parcels BEFL (~500k polygons),31.77669,{'nb_cpu': 12}
77+
2025-03-27 11:34:03.497322,geofileops,0.10.0,intersection,intersection of 2 agri parcel layers BEFL (2*~500k polygons),24.500116,{'nb_cpu': 12}
78+
2025-03-27 11:35:13.824647,geofileops,0.10.0,symdif_complexpolys_agri,symdif_complexpolys_agri between agri parcels (515k polys) and 3 multipolys of 4 * 30k coords,70.039399,{'nb_cpu': 12}
79+
2025-03-27 11:37:00.247387,geofileops,0.10.0,union,union of 2 agri parcel layers BEFL (2*~500k polygons),106.382987,{'nb_cpu': 12}
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)