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 5fdfced066345ab52869bcb54b6cbe1b566be276
Author: Dewey Dunnington <[email protected]>
AuthorDate: Fri Mar 13 16:03:36 2026 -0500

    add a few cases we care about
---
 .../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 699e2f86..f2a38a8c 100644
--- a/c/sedona-s2geography/benches/s2geography-functions.rs
+++ b/c/sedona-s2geography/benches/s2geography-functions.rs
@@ -131,6 +131,17 @@ fn criterion_benchmark(c: &mut Criterion) {
         ),
     );
 
+    benchmark::scalar(
+        c,
+        &f,
+        "s2geography",
+        "st_contains",
+        BenchmarkArgs::ArrayArray(
+            Transformed(Polygon(10).into(), to_geography()),
+            Transformed(Point.into(), to_geography()),
+        ),
+    );
+
     benchmark::scalar(
         c,
         &f,
@@ -175,6 +186,28 @@ fn criterion_benchmark(c: &mut Criterion) {
         ),
     );
 
+    benchmark::scalar(
+        c,
+        &f,
+        "s2geography",
+        "st_intersects",
+        BenchmarkArgs::ArrayArray(
+            Transformed(Point.into(), to_geography()),
+            Transformed(Polygon(10).into(), to_geography()),
+        ),
+    );
+
+    benchmark::scalar(
+        c,
+        &f,
+        "s2geography",
+        "st_intersects",
+        BenchmarkArgs::ArrayArray(
+            Transformed(Polygon(10).into(), to_geography()),
+            Transformed(Point.into(), to_geography()),
+        ),
+    );
+
     benchmark::scalar(
         c,
         &f,

Reply via email to