[geos-commits] [SCM] GEOS branch master updated. 34442d22bacbdc733d41d6948f8f3e33044e68dc

git at osgeo.org git at osgeo.org
Wed Nov 25 17:55:27 PST 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, master has been updated
       via  34442d22bacbdc733d41d6948f8f3e33044e68dc (commit)
      from  b05b10b3344a9d73ad0af7fbf2f95512535729bc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 34442d22bacbdc733d41d6948f8f3e33044e68dc
Author: Daniel Baston <dbaston at gmail.com>
Date:   Wed Nov 25 20:55:18 2020 -0500

    Add union to UnaryOpPerfTest

diff --git a/benchmarks/capi/UnaryOpPerfTest.cpp b/benchmarks/capi/UnaryOpPerfTest.cpp
index e5f733c..d93e58e 100644
--- a/benchmarks/capi/UnaryOpPerfTest.cpp
+++ b/benchmarks/capi/UnaryOpPerfTest.cpp
@@ -27,6 +27,7 @@ int main(int argc, char** argv) {
         std::cout << std::endl;
         std::cout << "The following operations are supported:" << std::endl;
         std::cout << "- valid" << std::endl;
+        std::cout << "- union" << std::endl;
         std::cout << std::endl;
         std::cout << "Usage: perf_unary [wktfile] [operation] [n]" << std::endl;
         return 0;
@@ -69,6 +70,10 @@ int main(int argc, char** argv) {
         for (const auto& g : geoms) {
             GEOSisValid(g);
         }
+    } else if (op == "union") {
+        for (const auto& g : geoms) {
+            GEOSUnaryUnion(g);
+        }
     }
 
     sw.stop();

-----------------------------------------------------------------------

Summary of changes:
 benchmarks/capi/UnaryOpPerfTest.cpp | 5 +++++
 1 file changed, 5 insertions(+)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list