You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by pa...@apache.org on 2026/03/13 22:26:15 UTC
(sedona-db) 02/04: add benchmark
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 4b325337a357ded7df3a93b5d046a1cab8eae35a
Author: Dewey Dunnington <de...@wherobots.com>
AuthorDate: Thu Mar 12 12:23:56 2026 -0500
add benchmark
---
c/sedona-s2geography/benches/s2geography-functions.rs | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/c/sedona-s2geography/benches/s2geography-functions.rs b/c/sedona-s2geography/benches/s2geography-functions.rs
index 0d0b6e40..699e2f86 100644
--- a/c/sedona-s2geography/benches/s2geography-functions.rs
+++ b/c/sedona-s2geography/benches/s2geography-functions.rs
@@ -175,6 +175,17 @@ fn criterion_benchmark(c: &mut Criterion) {
),
);
+ benchmark::scalar(
+ c,
+ &f,
+ "s2geography",
+ "st_equals",
+ BenchmarkArgs::ArrayArray(
+ Transformed(Point.into(), to_geography()),
+ Transformed(Point.into(), to_geography()),
+ ),
+ );
+
benchmark::scalar(
c,
&f,