{
  "scenarios": {
    "narrow": {
      "benchmark": "hanziva-datakit-local-v4",
      "scenario": "narrow",
      "environment": {
        "os": "macOS-27.2.1-arm64-arm-64bit",
        "hardware": {
          "architecture": "arm64",
          "logical_cpus": 10,
          "model": "MacBookPro18,2",
          "cpu": "Apple M1 Max",
          "memory_bytes": 34359738368
        },
        "python": "3.12.16",
        "polars": "1.44.2",
        "datakit": "0.1.0",
        "commit": "557e43e6ab2693e58fc7b8de9a615965665b98ab",
        "tracked_changes": false
      },
      "run_conditions": {
        "repeats": 3,
        "page_rows": 150,
        "cache": "Fresh temporary workspace. OS file caches are left as-is; timing samples keep run order.",
        "first_page": "File decode, snapshot commit, row page and JSON serialization. Excludes upload and browser paint.",
        "p95": "Nearest rank; with three runs this is the maximum of those observed samples.",
        "disk": "Apparent bytes in the temporary tree, sampled every 0.05 seconds and at measured operation boundaries.",
        "rss": "Process high-water mark, including setup. Null on Windows when resource usage is unavailable."
      },
      "dataset": {
        "rows": 1000000,
        "columns": 5,
        "csv_bytes": 49777946,
        "parquet_bytes": 3091855
      },
      "measurements": {
        "csv_import_to_first_page": {
          "runs": 3,
          "samples_seconds": [
            4.166509,
            4.1737,
            4.183169
          ],
          "median_seconds": 4.1737,
          "p95_seconds": 4.183169
        },
        "csv_read": {
          "runs": 3,
          "samples_seconds": [
            4.165056,
            4.143594,
            4.163135
          ],
          "median_seconds": 4.163135,
          "p95_seconds": 4.165056
        },
        "workspace_first_page": {
          "runs": 3,
          "samples_seconds": [
            0.008769,
            0.008135,
            0.008266
          ],
          "median_seconds": 0.008266,
          "p95_seconds": 0.008769
        },
        "workspace_filtered_sorted_page": {
          "runs": 3,
          "samples_seconds": [
            0.147776,
            0.141899,
            0.147084
          ],
          "median_seconds": 0.147084,
          "p95_seconds": 0.147776
        },
        "grouped_aggregation": {
          "runs": 3,
          "samples_seconds": [
            0.020128,
            0.016109,
            0.015253
          ],
          "median_seconds": 0.016109,
          "p95_seconds": 0.020128
        },
        "read_only_sql_aggregate": {
          "runs": 3,
          "samples_seconds": [
            0.032676,
            0.026171,
            0.025333
          ],
          "median_seconds": 0.026171,
          "p95_seconds": 0.032676
        },
        "cleaning_transform": {
          "runs": 3,
          "samples_seconds": [
            0.009502,
            0.00787,
            0.008332
          ],
          "median_seconds": 0.008332,
          "p95_seconds": 0.009502
        },
        "parquet_export": {
          "runs": 3,
          "samples_seconds": [
            0.01449,
            0.01545,
            0.018037
          ],
          "median_seconds": 0.01545,
          "p95_seconds": 0.018037
        },
        "workspace_backup": {
          "runs": 3,
          "samples_seconds": [
            0.008865,
            0.008197,
            0.008178
          ],
          "median_seconds": 0.008197,
          "p95_seconds": 0.008865
        }
      },
      "peak_process_rss_mib": 649.88,
      "sampled_peak_disk_bytes": 56126475
    },
    "wide": {
      "benchmark": "hanziva-datakit-local-v4",
      "scenario": "wide",
      "environment": {
        "os": "macOS-27.2.1-arm64-arm-64bit",
        "hardware": {
          "architecture": "arm64",
          "logical_cpus": 10,
          "model": "MacBookPro18,2",
          "cpu": "Apple M1 Max",
          "memory_bytes": 34359738368
        },
        "python": "3.12.16",
        "polars": "1.44.2",
        "datakit": "0.1.0",
        "commit": "557e43e6ab2693e58fc7b8de9a615965665b98ab",
        "tracked_changes": false
      },
      "run_conditions": {
        "repeats": 3,
        "page_rows": 150,
        "cache": "Fresh temporary workspace. OS file caches are left as-is; timing samples keep run order.",
        "first_page": "File decode, snapshot commit, row page and JSON serialization. Excludes upload and browser paint.",
        "p95": "Nearest rank; with three runs this is the maximum of those observed samples.",
        "disk": "Apparent bytes in the temporary tree, sampled every 0.05 seconds and at measured operation boundaries.",
        "rss": "Process high-water mark, including setup. Null on Windows when resource usage is unavailable."
      },
      "dataset": {
        "rows": 2000,
        "columns": 1200,
        "parquet_bytes": 6306848,
        "viewport_fields": 16,
        "filtered_rows": 286
      },
      "measurements": {
        "parquet_import_to_first_page": {
          "runs": 3,
          "samples_seconds": [
            0.065901,
            0.063541,
            0.066488
          ],
          "median_seconds": 0.065901,
          "p95_seconds": 0.066488
        },
        "first_page_projected": {
          "runs": 3,
          "samples_seconds": [
            0.004692,
            0.004601,
            0.0045
          ],
          "median_seconds": 0.004601,
          "p95_seconds": 0.004692
        },
        "first_page_all_fields": {
          "runs": 3,
          "samples_seconds": [
            0.129103,
            0.129443,
            0.130062
          ],
          "median_seconds": 0.129443,
          "p95_seconds": 0.130062
        },
        "filtered_sorted_page_projected": {
          "runs": 3,
          "samples_seconds": [
            0.125571,
            0.123858,
            0.124294
          ],
          "median_seconds": 0.124294,
          "p95_seconds": 0.125571
        },
        "far_fields_by_source_row": {
          "runs": 3,
          "samples_seconds": [
            0.005495,
            0.00501,
            0.004988
          ],
          "median_seconds": 0.00501,
          "p95_seconds": 0.005495
        }
      },
      "response_bytes": {
        "first_page_projected": 40723,
        "first_page_all_fields": 3141527,
        "far_fields_by_source_row": 44144
      },
      "peak_process_rss_mib": 413.86,
      "sampled_peak_disk_bytes": 12778112
    },
    "xlsx": {
      "benchmark": "hanziva-datakit-local-v4",
      "scenario": "xlsx",
      "environment": {
        "os": "macOS-27.2.1-arm64-arm-64bit",
        "hardware": {
          "architecture": "arm64",
          "logical_cpus": 10,
          "model": "MacBookPro18,2",
          "cpu": "Apple M1 Max",
          "memory_bytes": 34359738368
        },
        "python": "3.12.16",
        "polars": "1.44.2",
        "datakit": "0.1.0",
        "commit": "7db8dfdd0dbfeb11f555d6fd99f7fc0fa98517b5",
        "tracked_changes": false
      },
      "run_conditions": {
        "repeats": 3,
        "page_rows": 150,
        "cache": "Fresh temporary workspace. OS file caches are left as-is; timing samples keep run order.",
        "first_page": "File decode, snapshot commit, row page and JSON serialization. Excludes upload and browser paint.",
        "p95": "Nearest rank; with three runs this is the maximum of those observed samples.",
        "disk": "Apparent bytes in the temporary tree, sampled every 0.05 seconds and at measured operation boundaries.",
        "rss": "Process high-water mark, including setup. Null on Windows when resource usage is unavailable."
      },
      "dataset": {
        "rows": 1000,
        "columns": 5,
        "xlsx_bytes": 30497
      },
      "measurements": {
        "xlsx_read": {
          "runs": 3,
          "samples_seconds": [
            0.029423,
            0.027702,
            0.037541
          ],
          "median_seconds": 0.029423,
          "p95_seconds": 0.037541
        },
        "xlsx_import_to_first_page": {
          "runs": 3,
          "samples_seconds": [
            0.033503,
            0.031325,
            0.031077
          ],
          "median_seconds": 0.031325,
          "p95_seconds": 0.033503
        }
      },
      "peak_process_rss_mib": 148.58,
      "sampled_peak_disk_bytes": 116760
    },
    "history": {
      "benchmark": "hanziva-datakit-local-v4",
      "scenario": "history",
      "environment": {
        "os": "macOS-27.2.1-arm64-arm-64bit",
        "hardware": {
          "architecture": "arm64",
          "logical_cpus": 10,
          "model": "MacBookPro18,2",
          "cpu": "Apple M1 Max",
          "memory_bytes": 34359738368
        },
        "python": "3.12.16",
        "polars": "1.44.2",
        "datakit": "0.1.0",
        "commit": "7db8dfdd0dbfeb11f555d6fd99f7fc0fa98517b5",
        "tracked_changes": false
      },
      "run_conditions": {
        "repeats": 3,
        "page_rows": 150,
        "cache": "Fresh temporary workspace. OS file caches are left as-is; timing samples keep run order.",
        "first_page": "File decode, snapshot commit, row page and JSON serialization. Excludes upload and browser paint.",
        "p95": "Nearest rank; with three runs this is the maximum of those observed samples.",
        "disk": "Apparent bytes in the temporary tree, sampled every 0.05 seconds and at measured operation boundaries.",
        "rss": "Process high-water mark, including setup. Null on Windows when resource usage is unavailable."
      },
      "dataset": {
        "rows": 300000,
        "columns": 2,
        "dirty_rows": {
          "1_percent": 3000,
          "20_percent": 60000
        },
        "history_writes": 9
      },
      "measurements": {
        "cleaning_trim_1_percent_dirty": {
          "runs": 3,
          "samples_seconds": [
            0.004501,
            0.004255,
            0.004028
          ],
          "median_seconds": 0.004255,
          "p95_seconds": 0.004501
        },
        "cleaning_trim_20_percent_dirty": {
          "runs": 3,
          "samples_seconds": [
            0.004311,
            0.004624,
            0.004357
          ],
          "median_seconds": 0.004357,
          "p95_seconds": 0.004624
        },
        "edit_and_write_revision": {
          "runs": 9,
          "samples_seconds": [
            0.006586,
            0.006199,
            0.006151,
            0.005936,
            0.005895,
            0.006159,
            0.00606,
            0.005936,
            0.005978
          ],
          "median_seconds": 0.00606,
          "p95_seconds": 0.006586
        },
        "undo_to_first_page": {
          "runs": 3,
          "samples_seconds": [
            0.004378,
            0.003576,
            0.003448
          ],
          "median_seconds": 0.003576,
          "p95_seconds": 0.004378
        },
        "redo_to_first_page": {
          "runs": 3,
          "samples_seconds": [
            0.003515,
            0.003217,
            0.003074
          ],
          "median_seconds": 0.003217,
          "p95_seconds": 0.003515
        },
        "cancel_cleaning_before_commit": {
          "runs": 3,
          "samples_seconds": [
            0.004454,
            0.003788,
            0.003757
          ],
          "median_seconds": 0.003788,
          "p95_seconds": 0.004454,
          "attempts": [
            {
              "submitted_state": "queued",
              "cancel_http_status": 200,
              "terminal_state": "cancelled",
              "dataset_revision": 0
            },
            {
              "submitted_state": "queued",
              "cancel_http_status": 200,
              "terminal_state": "cancelled",
              "dataset_revision": 0
            },
            {
              "submitted_state": "queued",
              "cancel_http_status": 200,
              "terminal_state": "cancelled",
              "dataset_revision": 0
            }
          ]
        }
      },
      "peak_process_rss_mib": 244.89,
      "sampled_peak_disk_bytes": 3865015
    }
  }
}
