From 5988f1cac72fa5e2afe438ce2861ad2e6abeeb02 Mon Sep 17 00:00:00 2001 From: "Documenter.jl" Date: Tue, 9 Apr 2024 02:08:41 +0000 Subject: [PATCH] build based on b23b9e1 --- dev/404.html | 2 +- dev/hashmap.json | 2 +- dev/index.html | 2 +- dev/source/GeoPackage.html | 2 +- dev/source/reader.html | 2 +- dev/source/wellknownbinary.html | 2 +- dev/source/writer.html | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dev/404.html b/dev/404.html index 39808cc..8c296c5 100644 --- a/dev/404.html +++ b/dev/404.html @@ -15,7 +15,7 @@
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.
- + \ No newline at end of file diff --git a/dev/hashmap.json b/dev/hashmap.json index 595349c..7c2594f 100644 --- a/dev/hashmap.json +++ b/dev/hashmap.json @@ -1 +1 @@ -{"source_geopackage.md":"Cn5NQ94e","index.md":"CtfQzHGI","source_writer.md":"DghChHwg","source_wellknownbinary.md":"Djww3_-w","source_reader.md":"CeIhbzaV"} +{"source_writer.md":"DghChHwg","source_geopackage.md":"Cn5NQ94e","index.md":"CtfQzHGI","source_wellknownbinary.md":"Djww3_-w","source_reader.md":"CeIhbzaV"} diff --git a/dev/index.html b/dev/index.html index 2bfad0d..5fb054c 100644 --- a/dev/index.html +++ b/dev/index.html @@ -18,7 +18,7 @@
Skip to content
- + \ No newline at end of file diff --git a/dev/source/GeoPackage.html b/dev/source/GeoPackage.html index c7d0319..13045fe 100644 --- a/dev/source/GeoPackage.html +++ b/dev/source/GeoPackage.html @@ -26,7 +26,7 @@ const to = TimerOutput() include("reader.jl")

include("writer.jl")

julia
end

This page was generated using Literate.jl.

- + \ No newline at end of file diff --git a/dev/source/reader.html b/dev/source/reader.html index 0ad494a..f2e58af 100644 --- a/dev/source/reader.html +++ b/dev/source/reader.html @@ -111,7 +111,7 @@ envelope_size #= size of envelope as given =#

We index into the WKB to get the actual geometry. We need to start from the byte after the header, i.e., header_length+1.

julia
    final_geom = GO.tuples(GFT.WellKnownBinary(GFT.Geom(), wkb[(header_length+1):end]); crs = crs_obj)
     return final_geom
 end

@b _get_geometry_tables(joinpath(dirname(@DIR), "test", "data", "polygon.gpkg")) seconds=3 # 313 μs ──────────────────────────────────────────────────────────────────────────────── Time Allocations ─────────────────────── ──────────────────────── Tot / % measured: 4.65s / 55.8% 383MiB / 94.9%

Section ncalls time %tot avg alloc %tot avg ──────────────────────────────────────────────────────────────────────────────── General queries 7.08k 1.69s 65.1% 239μs 103MiB 28.3% 14.9KiB CRS table 7.08k 1.57s 60.3% 221μs 79.2MiB 21.8% 11.4KiB Query 7.08k 1.29s 49.5% 182μs 17.7MiB 4.9% 2.56KiB Materialization 7.08k 256ms 9.9% 36.2μs 56.1MiB 15.4% 8.12KiB CRS parsing 7.08k 20.0ms 0.8% 2.82μs 5.30MiB 1.5% 784B Contents table 7.08k 124ms 4.8% 17.5μs 23.7MiB 6.5% 3.42KiB Get geometry tables 7.08k 905ms 34.9% 128μs 261MiB 71.7% 37.8KiB WKB parsing 7.08k 554ms 21.3% 78.2μs 216MiB 59.3% 31.2KiB Table retrieval 7.08k 121ms 4.7% 17.1μs 34.5MiB 9.5% 4.99KiB Materialization 7.08k 65.6ms 2.5% 9.27μs 20.9MiB 5.7% 3.02KiB ──────────────────────────────────────────────────────────────────────────────── @b GeoDataFrames.read(joinpath(dirname(@DIR), "test", "data", "polygon.gpkg")) seconds=3 # 781 μs

@b _get_geometry_tables("/Users/anshul/git/vector-benchmark/data/points.gpkg") seconds=10 # 894 ms ──────────────────────────────────────────────────────────────────────────────── Time Allocations ─────────────────────── ──────────────────────── Tot / % measured: 142s / 7.8% 3.26GiB / 99.3%

Section ncalls time %tot avg alloc %tot avg ──────────────────────────────────────────────────────────────────────────────── Get geometry tables 12 11.1s 99.9% 926ms 3.23GiB 100.0% 276MiB WKB parsing 12 6.10s 54.9% 508ms 1.82GiB 56.4% 156MiB Table retrieval 12 5.01s 45.1% 417ms 1.41GiB 43.6% 120MiB Materialization 12 5.01s 45.1% 417ms 1.41GiB 43.6% 120MiB General queries 12 7.39ms 0.1% 616μs 182KiB 0.0% 15.2KiB CRS table 12 6.94ms 0.1% 578μs 140KiB 0.0% 11.6KiB Query 12 5.26ms 0.0% 439μs 30.8KiB 0.0% 2.56KiB Materialization 12 1.47ms 0.0% 123μs 97.4KiB 0.0% 8.12KiB CRS parsing 12 190μs 0.0% 15.9μs 9.19KiB 0.0% 784B Contents table 12 445μs 0.0% 37.1μs 41.1KiB 0.0% 3.42KiB ──────────────────────────────────────────────────────────────────────────────── @b GeoDataFrames.read("/Users/anshul/git/vector-benchmark/data/points.gpkg") seconds=10 # 195 ms @b GO.tuples(GeoDataFrames.read("/Users/anshul/git/vector-benchmark/data/points.gpkg").geom) seconds=10 # 213 ms


This page was generated using Literate.jl.

- + \ No newline at end of file diff --git a/dev/source/wellknownbinary.html b/dev/source/wellknownbinary.html index 9928776..bf8dfe8 100644 --- a/dev/source/wellknownbinary.html +++ b/dev/source/wellknownbinary.html @@ -40,7 +40,7 @@ function parse_geopkg_wkb(wkb::Vector{UInt8}) @assert reinterpret(UInt16, (wkb[1], wkb[2])) == 0x4750 end

This page was generated using Literate.jl.

- + \ No newline at end of file diff --git a/dev/source/writer.html b/dev/source/writer.html index d6ba21d..d18340a 100644 --- a/dev/source/writer.html +++ b/dev/source/writer.html @@ -23,7 +23,7 @@ function generate_crs_table end function generate_contents_table end function generate_geometry_table end

This page was generated using Literate.jl.

- + \ No newline at end of file