This is an automated email from the ASF dual-hosted git repository. paleolimbot pushed a commit to branch better-shape-index in repository https://gitbox.apache.org/repos/asf/sedona-db.git
commit cd85a8ee72493d7f8a7aea37050bf9b16fdece78 Author: Dewey Dunnington <[email protected]> AuthorDate: Tue Mar 10 22:27:29 2026 -0500 add some benchmarks --- .../benches/s2geography-functions.rs | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/c/sedona-s2geography/benches/s2geography-functions.rs b/c/sedona-s2geography/benches/s2geography-functions.rs index 084817ea..0d0b6e40 100644 --- a/c/sedona-s2geography/benches/s2geography-functions.rs +++ b/c/sedona-s2geography/benches/s2geography-functions.rs @@ -142,6 +142,39 @@ fn criterion_benchmark(c: &mut Criterion) { ), ); + benchmark::scalar( + c, + &f, + "s2geography", + "st_intersects", + BenchmarkArgs::ScalarArray( + Transformed(Polygon(10).into(), to_geography()), + Transformed(Point.into(), to_geography()), + ), + ); + + benchmark::scalar( + c, + &f, + "s2geography", + "st_intersects", + BenchmarkArgs::ArrayScalar( + Transformed(Point.into(), to_geography()), + Transformed(Polygon(500).into(), to_geography()), + ), + ); + + benchmark::scalar( + c, + &f, + "s2geography", + "st_intersects", + BenchmarkArgs::ArrayScalar( + Transformed(LineString(10).into(), to_geography()), + Transformed(Polygon(10).into(), to_geography()), + ), + ); + benchmark::scalar( c, &f,
