{
  "version": 1,
  "date": "2026-10-06",
  "rows": 10000000,
  "query_count": 82,
  "repetitions": 5,
  "counts_matched": 82,
  "families": {
    "daily_region": {
      "queries": 16,
      "native_trials": 80,
      "postgis_completed": 80,
      "native_median_ms": 2.237063,
      "postgis_median_ms": 30.0575,
      "postgis_over_native": 13.436143729523934
    },
    "empty_control": {
      "queries": 1,
      "native_trials": 5,
      "postgis_completed": 5,
      "native_median_ms": 1.57723,
      "postgis_median_ms": 5.304,
      "postgis_over_native": 3.3628576681904354
    },
    "space": {
      "queries": 16,
      "native_trials": 80,
      "postgis_completed": 80,
      "native_median_ms": 2.428162,
      "postgis_median_ms": 29.874000000000002,
      "postgis_over_native": 12.303132987008281
    },
    "spacetime": {
      "queries": 16,
      "native_trials": 80,
      "postgis_completed": 80,
      "native_median_ms": 0.4179845,
      "postgis_median_ms": 12.3895,
      "postgis_over_native": 29.64105128300212
    },
    "time": {
      "queries": 16,
      "native_trials": 80,
      "postgis_completed": 80,
      "native_median_ms": 1.2077715,
      "postgis_median_ms": 0.5685,
      "postgis_over_native": 0.470701618642268
    },
    "vessel": {
      "queries": 16,
      "native_trials": 80,
      "postgis_completed": 80,
      "native_median_ms": 1.0907515,
      "postgis_median_ms": 0.4385,
      "postgis_over_native": 0.40201640795359894
    },
    "wide_control": {
      "queries": 1,
      "native_trials": 5,
      "postgis_completed": 5,
      "native_median_ms": 62.559112,
      "postgis_median_ms": 111.519,
      "postgis_over_native": 1.7826180141431676
    }
  },
  "errors": [],
  "methodology": {
    "native": "In-process SpaceKey planning and exact execution, resident snapshot; five repetitions, native exact-scan verification.",
    "postgis": "EXPLAIN ANALYZE TIMING OFF: planning + execution; excludes network and result serialization; one count warmup per predicate then five repetitions. Instrumentation still adds overhead.",
    "scope": "82 preselected rectangular spatial, time, entity, recurring UTC and control count predicates. Radius omitted because distance models require separate equivalence validation.",
    "host": "AWS c7i.8xlarge, 32 vCPU, 64 GiB; existing demo services remained active",
    "resources": "Both measured engines restricted to CPUs 0-7. PostGIS 8 GiB limit, 2 GiB shared buffers, four parallel query workers. SpaceKey native benchmark uses up to eight Rayon threads.",
    "order": "Sequential engine phases; shuffled query order within phases. Not simultaneous paired requests.",
    "transport": "Native execution costs, not client end-to-end API latency."
  },
  "setup": {
    "index_setup_seconds": 16.13954611299414,
    "postgres": "PostgreSQL 17.5 (Debian 17.5-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit",
    "postgis": "POSTGIS=\"3.5.2 dea6d0a\" [EXTENSION] PGSQL=\"170\" GEOS=\"3.9.0-CAPI-1.16.2\" PROJ=\"7.2.1 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/var/lib/postgresql/.local/share/proj DATABASE_PATH=/usr/share/proj/proj.db\" (compiled against PROJ 7.2.1) LIBXML=\"2.9.10\" LIBJSON=\"0.15\" LIBPROTOBUF=\"1.3.3\" WAGYU=\"0.5.0 (Internal)\" TOPOLOGY",
    "table_and_index_bytes": 1813364736,
    "indexes": "CREATE INDEX observations_geom ON public.observations USING gist (geom)\nCREATE INDEX observations_time ON public.observations USING btree (time_ms)\nCREATE INDEX observations_entity_time ON public.observations USING btree (entity, time_ms)",
    "settings": "effective_cache_size=786432\njit=off\nmaintenance_work_mem=1048576\nmax_parallel_workers=8\nmax_parallel_workers_per_gather=4\nshared_buffers=262144\nwork_mem=65536"
  },
  "input": {
    "rows": 10000000,
    "copy_seconds": 8.79101884800184,
    "input_sha256": "0f44244d437ebcaa3208da51d338893d2cde815d0c5859a1578e444d0e6d4640"
  },
  "native_build": {
    "build_or_replay_ms": 4472.974745,
    "cache": "filesystem warm after ingestion, new Catalog verified and deserialized",
    "compiler_profile": "release thin LTO, codegen-units 1",
    "domain": {
      "end_ms": 1675209600000,
      "start_ms": 1672531200000
    },
    "generations": [
      100
    ],
    "index_bytes": 1120030964,
    "kind": "build",
    "recovery_ms": 1470.7961599999999,
    "rows": 10000000,
    "source_revision": "binary-sha256:1736994ae988c7e443762c7af64354b44848a7b4e6178c05e985645c68b1df2b",
    "version": 1
  },
  "native_artifact_sha256": "967c1da62fa4eb163eb41e097403c2191f4929c442610d3cc0db36f42b29502a",
  "postgis_image_digest": "sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6"
}
