{
  "topic_id": "lxml-selectolax-local-hikaku",
  "request_id": "req-20261022-065",
  "started_at_utc": "2026-11-04T18:32:16.556532+00:00",
  "environment": {
    "platform": "macOS-27.2-arm64-arm-64bit-Mach-O",
    "python": "3.14.10 (main, Oct 25 2026, 17:12:00) [Clang 21.0.0 (clang-2100.3.34.2)]",
    "machine": "arm64",
    "logical_cpus": 12,
    "cpu_model": "not queried; sandbox restrictions",
    "versions": {
      "lxml": "6.1.3",
      "selectolax": "1.0.2",
      "cssselect": "1.6.0"
    },
    "libxml_runtime": [
      2,
      14,
      6
    ],
    "libxml_compiled": [
      2,
      14,
      6
    ],
    "backend": "native CPU only: lxml/libxml2 and selectolax/Lexbor; no ML/GPU imports",
    "load_average_start": [
      15.59228515625,
      30.51220703125,
      47.751953125
    ],
    "perf_counter": "namespace(implementation='mach_absolute_time()', monotonic=True, adjustable=False, resolution=4.166666666666666e-08)",
    "load_average_end": [
      15.59228515625,
      30.51220703125,
      47.751953125
    ]
  },
  "conditions": {
    "trials": 5,
    "warmup_batches_per_condition": 1,
    "input": "identical synthetic UTF-8 bytes for both full-document parsers",
    "selector": "main#catalog > article.item > a.title",
    "lxml_selector": "precompiled CSSSelector, HTML translator, outside timing",
    "selectolax_selector": "Lexbor tree.css(query) native engine",
    "parser_options": "new lxml HTMLParser(encoding=utf-8,no_network=True) per call; new LexborHTMLParser(encoding=False,scripting=False)",
    "parse": "construct full document tree and release it, no extraction",
    "parse_extract": "construct full tree, select matching links, extract href and descendant text into dict list, release result/tree",
    "gc": "cyclic GC disabled only during batch; reference counting remains active",
    "tool_order": "alternate per trial and condition; serial single process",
    "included": "Python loop, parser creation, native parsing, allocation, release; extraction for parse_extract",
    "excluded": [
      "input generation",
      "expected results",
      "downloads",
      "venv",
      "imports",
      "CSSSelector compilation",
      "validation",
      "hashing",
      "disk I/O",
      "cold startup"
    ],
    "probe_timing": "malformed/omitted-tag probes are untimed"
  },
  "unit_map": {
    "trials[].elapsed_ns": "ns",
    "warmups[].elapsed_ns": "ns",
    "cases[].input_bytes": "バイト",
    "cases[].validation[].extracted_count": "件",
    "cases[].validation[].exact_match_count": "件",
    "probes[].results[].match_count": "件"
  },
  "cases": [
    {
      "id": "items10",
      "record_count": 10,
      "loops": 1000,
      "input_bytes": 1991,
      "input_sha256": "42c3a33c594702a267fc55510163a14426b56d71eb2de0eb3456a149e2838a92",
      "expected_output_sha256": "0121a5ef574f55e876692fe467dc285def121f44821f9e72a23df2b9bd782073",
      "validation": [
        {
          "tool": "lxml",
          "extracted_count": 10,
          "exact_match_count": 10,
          "matches_expected": true,
          "output_sha256": "0121a5ef574f55e876692fe467dc285def121f44821f9e72a23df2b9bd782073"
        },
        {
          "tool": "selectolax",
          "extracted_count": 10,
          "exact_match_count": 10,
          "matches_expected": true,
          "output_sha256": "0121a5ef574f55e876692fe467dc285def121f44821f9e72a23df2b9bd782073"
        }
      ]
    },
    {
      "id": "items1000",
      "record_count": 1000,
      "loops": 20,
      "input_bytes": 184376,
      "input_sha256": "309de38de7b90a94c4ad19deb97ea877c862d93e65ea87453634930a8a13a101",
      "expected_output_sha256": "8ef1ad5e937e60555e6a6d819b6a6a9130876824446c14d8534488d56a0eba4e",
      "validation": [
        {
          "tool": "lxml",
          "extracted_count": 1000,
          "exact_match_count": 1000,
          "matches_expected": true,
          "output_sha256": "8ef1ad5e937e60555e6a6d819b6a6a9130876824446c14d8534488d56a0eba4e"
        },
        {
          "tool": "selectolax",
          "extracted_count": 1000,
          "exact_match_count": 1000,
          "matches_expected": true,
          "output_sha256": "8ef1ad5e937e60555e6a6d819b6a6a9130876824446c14d8534488d56a0eba4e"
        }
      ]
    },
    {
      "id": "items10000",
      "record_count": 10000,
      "loops": 2,
      "input_bytes": 1871876,
      "input_sha256": "646a276f156801bdecf003b4363e217f8a16b50defd9cb16d0f3215c42828ca6",
      "expected_output_sha256": "d78f094cc6d85c4f3dcd475c2b813a0ccf6007b1116573d6bdd578e4e3497f26",
      "validation": [
        {
          "tool": "lxml",
          "extracted_count": 10000,
          "exact_match_count": 10000,
          "matches_expected": true,
          "output_sha256": "d78f094cc6d85c4f3dcd475c2b813a0ccf6007b1116573d6bdd578e4e3497f26"
        },
        {
          "tool": "selectolax",
          "extracted_count": 10000,
          "exact_match_count": 10000,
          "matches_expected": true,
          "output_sha256": "d78f094cc6d85c4f3dcd475c2b813a0ccf6007b1116573d6bdd578e4e3497f26"
        }
      ]
    }
  ],
  "warmups": [
    {
      "id": "items10-parse-lxml-warmup",
      "case": "items10",
      "operation": "parse",
      "tool": "lxml",
      "loops": 1000,
      "elapsed_ns": 21319583
    },
    {
      "id": "items10-parse-selectolax-warmup",
      "case": "items10",
      "operation": "parse",
      "tool": "selectolax",
      "loops": 1000,
      "elapsed_ns": 11496375
    },
    {
      "id": "items10-parse_extract-lxml-warmup",
      "case": "items10",
      "operation": "parse_extract",
      "tool": "lxml",
      "loops": 1000,
      "elapsed_ns": 46144375
    },
    {
      "id": "items10-parse_extract-selectolax-warmup",
      "case": "items10",
      "operation": "parse_extract",
      "tool": "selectolax",
      "loops": 1000,
      "elapsed_ns": 17395834
    },
    {
      "id": "items1000-parse-lxml-warmup",
      "case": "items1000",
      "operation": "parse",
      "tool": "lxml",
      "loops": 20,
      "elapsed_ns": 32436834
    },
    {
      "id": "items1000-parse-selectolax-warmup",
      "case": "items1000",
      "operation": "parse",
      "tool": "selectolax",
      "loops": 20,
      "elapsed_ns": 13860917
    },
    {
      "id": "items1000-parse_extract-lxml-warmup",
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "lxml",
      "loops": 20,
      "elapsed_ns": 75096125
    },
    {
      "id": "items1000-parse_extract-selectolax-warmup",
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "loops": 20,
      "elapsed_ns": 22006542
    },
    {
      "id": "items10000-parse-lxml-warmup",
      "case": "items10000",
      "operation": "parse",
      "tool": "lxml",
      "loops": 2,
      "elapsed_ns": 34349125
    },
    {
      "id": "items10000-parse-selectolax-warmup",
      "case": "items10000",
      "operation": "parse",
      "tool": "selectolax",
      "loops": 2,
      "elapsed_ns": 14373541
    },
    {
      "id": "items10000-parse_extract-lxml-warmup",
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "lxml",
      "loops": 2,
      "elapsed_ns": 81590875
    },
    {
      "id": "items10000-parse_extract-selectolax-warmup",
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "loops": 2,
      "elapsed_ns": 23839167
    }
  ],
  "trials": [
    {
      "id": "items10-parse-lxml-r1",
      "case": "items10",
      "operation": "parse",
      "tool": "lxml",
      "trial": 1,
      "order": 1,
      "loops": 1000,
      "elapsed_ns": 20507459
    },
    {
      "id": "items10-parse-selectolax-r1",
      "case": "items10",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 1,
      "order": 2,
      "loops": 1000,
      "elapsed_ns": 10568250
    },
    {
      "id": "items10-parse-selectolax-r2",
      "case": "items10",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 2,
      "order": 1,
      "loops": 1000,
      "elapsed_ns": 10661667
    },
    {
      "id": "items10-parse-lxml-r2",
      "case": "items10",
      "operation": "parse",
      "tool": "lxml",
      "trial": 2,
      "order": 2,
      "loops": 1000,
      "elapsed_ns": 20804333
    },
    {
      "id": "items10-parse-lxml-r3",
      "case": "items10",
      "operation": "parse",
      "tool": "lxml",
      "trial": 3,
      "order": 1,
      "loops": 1000,
      "elapsed_ns": 20567000
    },
    {
      "id": "items10-parse-selectolax-r3",
      "case": "items10",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 3,
      "order": 2,
      "loops": 1000,
      "elapsed_ns": 10714500
    },
    {
      "id": "items10-parse-selectolax-r4",
      "case": "items10",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 4,
      "order": 1,
      "loops": 1000,
      "elapsed_ns": 10604750
    },
    {
      "id": "items10-parse-lxml-r4",
      "case": "items10",
      "operation": "parse",
      "tool": "lxml",
      "trial": 4,
      "order": 2,
      "loops": 1000,
      "elapsed_ns": 20457958
    },
    {
      "id": "items10-parse-lxml-r5",
      "case": "items10",
      "operation": "parse",
      "tool": "lxml",
      "trial": 5,
      "order": 1,
      "loops": 1000,
      "elapsed_ns": 20255584
    },
    {
      "id": "items10-parse-selectolax-r5",
      "case": "items10",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 5,
      "order": 2,
      "loops": 1000,
      "elapsed_ns": 10510417
    },
    {
      "id": "items10-parse_extract-selectolax-r1",
      "case": "items10",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 1,
      "order": 1,
      "loops": 1000,
      "elapsed_ns": 17383208
    },
    {
      "id": "items10-parse_extract-lxml-r1",
      "case": "items10",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 1,
      "order": 2,
      "loops": 1000,
      "elapsed_ns": 45759375
    },
    {
      "id": "items10-parse_extract-lxml-r2",
      "case": "items10",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 2,
      "order": 1,
      "loops": 1000,
      "elapsed_ns": 45312084
    },
    {
      "id": "items10-parse_extract-selectolax-r2",
      "case": "items10",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 2,
      "order": 2,
      "loops": 1000,
      "elapsed_ns": 17264416
    },
    {
      "id": "items10-parse_extract-selectolax-r3",
      "case": "items10",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 3,
      "order": 1,
      "loops": 1000,
      "elapsed_ns": 17362208
    },
    {
      "id": "items10-parse_extract-lxml-r3",
      "case": "items10",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 3,
      "order": 2,
      "loops": 1000,
      "elapsed_ns": 45710792
    },
    {
      "id": "items10-parse_extract-lxml-r4",
      "case": "items10",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 4,
      "order": 1,
      "loops": 1000,
      "elapsed_ns": 46447000
    },
    {
      "id": "items10-parse_extract-selectolax-r4",
      "case": "items10",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 4,
      "order": 2,
      "loops": 1000,
      "elapsed_ns": 17387750
    },
    {
      "id": "items10-parse_extract-selectolax-r5",
      "case": "items10",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 5,
      "order": 1,
      "loops": 1000,
      "elapsed_ns": 17176250
    },
    {
      "id": "items10-parse_extract-lxml-r5",
      "case": "items10",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 5,
      "order": 2,
      "loops": 1000,
      "elapsed_ns": 45640042
    },
    {
      "id": "items1000-parse-selectolax-r1",
      "case": "items1000",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 1,
      "order": 1,
      "loops": 20,
      "elapsed_ns": 14021833
    },
    {
      "id": "items1000-parse-lxml-r1",
      "case": "items1000",
      "operation": "parse",
      "tool": "lxml",
      "trial": 1,
      "order": 2,
      "loops": 20,
      "elapsed_ns": 31962292
    },
    {
      "id": "items1000-parse-lxml-r2",
      "case": "items1000",
      "operation": "parse",
      "tool": "lxml",
      "trial": 2,
      "order": 1,
      "loops": 20,
      "elapsed_ns": 31996417
    },
    {
      "id": "items1000-parse-selectolax-r2",
      "case": "items1000",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 2,
      "order": 2,
      "loops": 20,
      "elapsed_ns": 13655375
    },
    {
      "id": "items1000-parse-selectolax-r3",
      "case": "items1000",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 3,
      "order": 1,
      "loops": 20,
      "elapsed_ns": 13750458
    },
    {
      "id": "items1000-parse-lxml-r3",
      "case": "items1000",
      "operation": "parse",
      "tool": "lxml",
      "trial": 3,
      "order": 2,
      "loops": 20,
      "elapsed_ns": 31838709
    },
    {
      "id": "items1000-parse-lxml-r4",
      "case": "items1000",
      "operation": "parse",
      "tool": "lxml",
      "trial": 4,
      "order": 1,
      "loops": 20,
      "elapsed_ns": 32122834
    },
    {
      "id": "items1000-parse-selectolax-r4",
      "case": "items1000",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 4,
      "order": 2,
      "loops": 20,
      "elapsed_ns": 13916583
    },
    {
      "id": "items1000-parse-selectolax-r5",
      "case": "items1000",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 5,
      "order": 1,
      "loops": 20,
      "elapsed_ns": 13926292
    },
    {
      "id": "items1000-parse-lxml-r5",
      "case": "items1000",
      "operation": "parse",
      "tool": "lxml",
      "trial": 5,
      "order": 2,
      "loops": 20,
      "elapsed_ns": 31785375
    },
    {
      "id": "items1000-parse_extract-lxml-r1",
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 1,
      "order": 1,
      "loops": 20,
      "elapsed_ns": 74352750
    },
    {
      "id": "items1000-parse_extract-selectolax-r1",
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 1,
      "order": 2,
      "loops": 20,
      "elapsed_ns": 22089833
    },
    {
      "id": "items1000-parse_extract-selectolax-r2",
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 2,
      "order": 1,
      "loops": 20,
      "elapsed_ns": 22021292
    },
    {
      "id": "items1000-parse_extract-lxml-r2",
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 2,
      "order": 2,
      "loops": 20,
      "elapsed_ns": 74708375
    },
    {
      "id": "items1000-parse_extract-lxml-r3",
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 3,
      "order": 1,
      "loops": 20,
      "elapsed_ns": 74944166
    },
    {
      "id": "items1000-parse_extract-selectolax-r3",
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 3,
      "order": 2,
      "loops": 20,
      "elapsed_ns": 22010500
    },
    {
      "id": "items1000-parse_extract-selectolax-r4",
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 4,
      "order": 1,
      "loops": 20,
      "elapsed_ns": 22026542
    },
    {
      "id": "items1000-parse_extract-lxml-r4",
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 4,
      "order": 2,
      "loops": 20,
      "elapsed_ns": 76887834
    },
    {
      "id": "items1000-parse_extract-lxml-r5",
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 5,
      "order": 1,
      "loops": 20,
      "elapsed_ns": 77334167
    },
    {
      "id": "items1000-parse_extract-selectolax-r5",
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 5,
      "order": 2,
      "loops": 20,
      "elapsed_ns": 22809917
    },
    {
      "id": "items10000-parse-lxml-r1",
      "case": "items10000",
      "operation": "parse",
      "tool": "lxml",
      "trial": 1,
      "order": 1,
      "loops": 2,
      "elapsed_ns": 33719584
    },
    {
      "id": "items10000-parse-selectolax-r1",
      "case": "items10000",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 1,
      "order": 2,
      "loops": 2,
      "elapsed_ns": 15272792
    },
    {
      "id": "items10000-parse-selectolax-r2",
      "case": "items10000",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 2,
      "order": 1,
      "loops": 2,
      "elapsed_ns": 14528416
    },
    {
      "id": "items10000-parse-lxml-r2",
      "case": "items10000",
      "operation": "parse",
      "tool": "lxml",
      "trial": 2,
      "order": 2,
      "loops": 2,
      "elapsed_ns": 33579042
    },
    {
      "id": "items10000-parse-lxml-r3",
      "case": "items10000",
      "operation": "parse",
      "tool": "lxml",
      "trial": 3,
      "order": 1,
      "loops": 2,
      "elapsed_ns": 33525167
    },
    {
      "id": "items10000-parse-selectolax-r3",
      "case": "items10000",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 3,
      "order": 2,
      "loops": 2,
      "elapsed_ns": 14690042
    },
    {
      "id": "items10000-parse-selectolax-r4",
      "case": "items10000",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 4,
      "order": 1,
      "loops": 2,
      "elapsed_ns": 14194166
    },
    {
      "id": "items10000-parse-lxml-r4",
      "case": "items10000",
      "operation": "parse",
      "tool": "lxml",
      "trial": 4,
      "order": 2,
      "loops": 2,
      "elapsed_ns": 32526708
    },
    {
      "id": "items10000-parse-lxml-r5",
      "case": "items10000",
      "operation": "parse",
      "tool": "lxml",
      "trial": 5,
      "order": 1,
      "loops": 2,
      "elapsed_ns": 32477333
    },
    {
      "id": "items10000-parse-selectolax-r5",
      "case": "items10000",
      "operation": "parse",
      "tool": "selectolax",
      "trial": 5,
      "order": 2,
      "loops": 2,
      "elapsed_ns": 14471209
    },
    {
      "id": "items10000-parse_extract-selectolax-r1",
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 1,
      "order": 1,
      "loops": 2,
      "elapsed_ns": 23273417
    },
    {
      "id": "items10000-parse_extract-lxml-r1",
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 1,
      "order": 2,
      "loops": 2,
      "elapsed_ns": 80496250
    },
    {
      "id": "items10000-parse_extract-lxml-r2",
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 2,
      "order": 1,
      "loops": 2,
      "elapsed_ns": 83391250
    },
    {
      "id": "items10000-parse_extract-selectolax-r2",
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 2,
      "order": 2,
      "loops": 2,
      "elapsed_ns": 25792542
    },
    {
      "id": "items10000-parse_extract-selectolax-r3",
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 3,
      "order": 1,
      "loops": 2,
      "elapsed_ns": 24771458
    },
    {
      "id": "items10000-parse_extract-lxml-r3",
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 3,
      "order": 2,
      "loops": 2,
      "elapsed_ns": 82952958
    },
    {
      "id": "items10000-parse_extract-lxml-r4",
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 4,
      "order": 1,
      "loops": 2,
      "elapsed_ns": 83051000
    },
    {
      "id": "items10000-parse_extract-selectolax-r4",
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 4,
      "order": 2,
      "loops": 2,
      "elapsed_ns": 24808125
    },
    {
      "id": "items10000-parse_extract-selectolax-r5",
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "trial": 5,
      "order": 1,
      "loops": 2,
      "elapsed_ns": 25618375
    },
    {
      "id": "items10000-parse_extract-lxml-r5",
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "lxml",
      "trial": 5,
      "order": 2,
      "loops": 2,
      "elapsed_ns": 84413167
    }
  ],
  "summaries": [
    {
      "case": "items10",
      "operation": "parse",
      "tool": "lxml",
      "loops": 1000,
      "median_batch_ns": 20507459,
      "min_batch_ns": 20255584,
      "max_batch_ns": 20804333,
      "median_ns_per_call": 20507.459
    },
    {
      "case": "items10",
      "operation": "parse",
      "tool": "selectolax",
      "loops": 1000,
      "median_batch_ns": 10604750,
      "min_batch_ns": 10510417,
      "max_batch_ns": 10714500,
      "median_ns_per_call": 10604.75
    },
    {
      "case": "items10",
      "operation": "parse_extract",
      "tool": "lxml",
      "loops": 1000,
      "median_batch_ns": 45710792,
      "min_batch_ns": 45312084,
      "max_batch_ns": 46447000,
      "median_ns_per_call": 45710.792
    },
    {
      "case": "items10",
      "operation": "parse_extract",
      "tool": "selectolax",
      "loops": 1000,
      "median_batch_ns": 17362208,
      "min_batch_ns": 17176250,
      "max_batch_ns": 17387750,
      "median_ns_per_call": 17362.208
    },
    {
      "case": "items1000",
      "operation": "parse",
      "tool": "lxml",
      "loops": 20,
      "median_batch_ns": 31962292,
      "min_batch_ns": 31785375,
      "max_batch_ns": 32122834,
      "median_ns_per_call": 1598114.6
    },
    {
      "case": "items1000",
      "operation": "parse",
      "tool": "selectolax",
      "loops": 20,
      "median_batch_ns": 13916583,
      "min_batch_ns": 13655375,
      "max_batch_ns": 14021833,
      "median_ns_per_call": 695829.15
    },
    {
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "lxml",
      "loops": 20,
      "median_batch_ns": 74944166,
      "min_batch_ns": 74352750,
      "max_batch_ns": 77334167,
      "median_ns_per_call": 3747208.3
    },
    {
      "case": "items1000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "loops": 20,
      "median_batch_ns": 22026542,
      "min_batch_ns": 22010500,
      "max_batch_ns": 22809917,
      "median_ns_per_call": 1101327.1
    },
    {
      "case": "items10000",
      "operation": "parse",
      "tool": "lxml",
      "loops": 2,
      "median_batch_ns": 33525167,
      "min_batch_ns": 32477333,
      "max_batch_ns": 33719584,
      "median_ns_per_call": 16762583.5
    },
    {
      "case": "items10000",
      "operation": "parse",
      "tool": "selectolax",
      "loops": 2,
      "median_batch_ns": 14528416,
      "min_batch_ns": 14194166,
      "max_batch_ns": 15272792,
      "median_ns_per_call": 7264208.0
    },
    {
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "lxml",
      "loops": 2,
      "median_batch_ns": 83051000,
      "min_batch_ns": 80496250,
      "max_batch_ns": 84413167,
      "median_ns_per_call": 41525500.0
    },
    {
      "case": "items10000",
      "operation": "parse_extract",
      "tool": "selectolax",
      "loops": 2,
      "median_batch_ns": 24808125,
      "min_batch_ns": 23273417,
      "max_batch_ns": 25792542,
      "median_ns_per_call": 12404062.5
    }
  ],
  "probes": [
    {
      "id": "omitted-tbody",
      "input_utf8": "<!doctype html><html><head><meta charset=\"utf-8\"><title>Probe</title></head><body><table id=\"t\"><tr><td>A</td></tr></table></body></html>",
      "input_sha256": "c16824f3c72a8bbb69b96a31be3fcf27b97e7239658397f7862e14dfb920a43f",
      "query": "table#t > tbody > tr",
      "results": [
        {
          "tool": "lxml",
          "match_count": 0,
          "texts": [],
          "serialized_html": "<html><head><meta charset=\"utf-8\"><title>Probe</title></head><body><table id=\"t\"><tr><td>A</td></tr></table></body></html>"
        },
        {
          "tool": "selectolax",
          "match_count": 1,
          "texts": [
            "A"
          ],
          "serialized_html": "<!DOCTYPE html><html><head><meta charset=\"utf-8\"><title>Probe</title></head><body><table id=\"t\"><tbody><tr><td>A</td></tr></tbody></table></body></html>"
        }
      ]
    },
    {
      "id": "misnested-formatting",
      "input_utf8": "<!doctype html><html><head><meta charset=\"utf-8\"><title>Probe</title></head><body><p id=\"p\"><b>one<i>two</b>three</i>four</p></body></html>",
      "input_sha256": "e7fcf995340dafce42bcb11ffacc6ae80b2bbb91d88c7b8cab4ab7ba3fc23239",
      "query": "p#p > i",
      "results": [
        {
          "tool": "lxml",
          "match_count": 0,
          "texts": [],
          "serialized_html": "<html><head><meta charset=\"utf-8\"><title>Probe</title></head><body><p id=\"p\"><b>one<i>two</i></b>threefour</p></body></html>"
        },
        {
          "tool": "selectolax",
          "match_count": 1,
          "texts": [
            "three"
          ],
          "serialized_html": "<!DOCTYPE html><html><head><meta charset=\"utf-8\"><title>Probe</title></head><body><p id=\"p\"><b>one<i>two</i></b><i>three</i>four</p></body></html>"
        }
      ]
    },
    {
      "id": "table-foster-parenting",
      "input_utf8": "<!doctype html><html><head><meta charset=\"utf-8\"><title>Probe</title></head><body><table id=\"t\">outside<tr><td>A</td></tr></table></body></html>",
      "input_sha256": "501313edc04367cb2a3eb14ccb19eb4e2060af416f648659a8788adef39adb4e",
      "query": "table#t",
      "results": [
        {
          "tool": "lxml",
          "match_count": 1,
          "texts": [
            "outsideA"
          ],
          "serialized_html": "<html><head><meta charset=\"utf-8\"><title>Probe</title></head><body><table id=\"t\">outside<tr><td>A</td></tr></table></body></html>"
        },
        {
          "tool": "selectolax",
          "match_count": 1,
          "texts": [
            "A"
          ],
          "serialized_html": "<!DOCTYPE html><html><head><meta charset=\"utf-8\"><title>Probe</title></head><body>outside<table id=\"t\"><tbody><tr><td>A</td></tr></tbody></table></body></html>"
        }
      ]
    }
  ],
  "finished_at_utc": "2026-11-04T18:32:19.222957+00:00"
}
