{
 "suiteVersion": "competitive-bench-v2",
 "started": "2026-11-08T21:32:33+00:00",
 "finished": "2026-11-08T21:38:03+00:00",
 "publishable": true,
 "notPublishableBecause": [],
 "tktail": {
  "exe": {
   "name": "TKTail.exe",
   "sha256": "2ee765d7dc48877497f9a07e4d6fcd038574975bb0f698ea45041e6a71172b1c",
   "bytes": 8098816,
   "version": [
    "TKTail 1.3.0-rc.1",
    "build: Release - Shipping PGO d30b1ec73986",
    "commit: cebe674522",
    "architecture: x64",
    "toolchain: MSVC 19.51.36260.0, Windows SDK 10.0.26100.0"
   ],
   "commit": "cebe674522"
  },
  "engine": {
   "name": "tktail_bench.exe",
   "sha256": "0cda7c9530434868facbaeeaff620b08ea4c6bd993befdbb2b7ad0f5c4343d67",
   "bytes": 4665344,
   "version": "1.3.0-rc.1",
   "commit": "cebe674522",
   "build": "Release - Shipping PGO d30b1ec73986",
   "runtime": "TKTail engine (tktail_bench levels, MSVC 195136260)"
  },
  "sameCommit": true,
  "statement": "The TKTail rows of L0 - L5 are TKTail's engine (core, io, workspace) built from commit cebe674522 into tktail_bench.exe (Release - Shipping PGO d30b1ec73986 build, the levels command: no MCP, no window, no PGO profile); the measured product is TKTail.exe TKTail 1.3.0-rc.1 (commit cebe674522)."
 },
 "machine": {
  "cpu": "Intel(R) Core(TM) i9-14900F",
  "cores": 24,
  "logical": 32,
  "ramGB": 191.8,
  "os": "Microsoft Windows 11 Pro",
  "build": "26300",
  "disk": "Samsung SSD 980 PRO 1TB",
  "bus": "NVMe",
  "filesystem": "NTFS",
  "antivirus": "Norton 360, Windows Defender",
  "powerPlanGuid": "381b4222-f694-41f0-9685-ff5bb260df2e",
  "powerPlan": "Balanced"
 },
 "runtimes": {
  "python": {
   "version": "3.13.0",
   "implementation": "CPython",
   "build": "3.13.0 (tags/v3.13.0:60403a5, Oct  7 2024, 09:38:07) [MSC v.1941 64 bit (AMD64)]",
   "how": "the interpreter running run_v2.py, started per process with -I (isolated: no user site, no PYTHON* variables)"
  },
  "pwsh": {
   "version": "7.6.9 on .NET 10.0.14",
   "how": "pwsh -NoProfile -NonInteractive -ExecutionPolicy Bypass -File powershell/bench.ps1 (a separate install)"
  },
  "powershell": {
   "version": "5.1.26100.9818 on .NET Framework 4.8.10008.0",
   "how": "powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -File powershell/bench.ps1 (part of Windows)"
  },
  "csharp": {
   "runtime": ".NET 10.0.14",
   "sdk": "10.0.403",
   "installedRuntimes": [
    "Microsoft.NETCore.App 3.1.32",
    "Microsoft.NETCore.App 5.0.17",
    "Microsoft.NETCore.App 6.0.0",
    "Microsoft.NETCore.App 6.0.36",
    "Microsoft.NETCore.App 7.0.20",
    "Microsoft.NETCore.App 8.0.33",
    "Microsoft.NETCore.App 9.0.22",
    "Microsoft.NETCore.App 10.0.4",
    "Microsoft.NETCore.App 10.0.14"
   ],
   "deployment": "framework-dependent (Microsoft.NETCore.App 10.0.0, the newest installed patch of it at run time)",
   "build": "dotnet build -c Release (csharp/CompetitiveBench.csproj: net10.0, win-x64, SelfContained false; tiered JIT and dynamic PGO as .NET defaults; no ReadyToRun, no NativeAOT) - built by run_v2.py",
   "dllSha256": "83681046601e784cecbb7b13df8a97db3e15f9475a1b8f50b30c8e0f2a360146"
  },
  "cpp": {
   "runtime": "MSVC 195136260 (static CRT)",
   "exe": "competitive_cpp_minimal.exe",
   "sha256": "c95937f9b2ecbc17abdd92b4c4f110845641906d54f7f4f2fa0a3ffff4f1d85a",
   "build": "MSVC x64, /O2 /GL /Gy /Gw, static CRT (/MT), LTCG - the product's flags (CMake target competitive_cpp_minimal, or cpp/build.cmd)"
  }
 },
 "method": {
  "rounds": 3,
  "measuredRepetitionsPerProcess": {
   "cpp": 5,
   "csharp": 5,
   "python": 3,
   "pwsh": 3,
   "powershell": 2,
   "tktail": 5
  },
  "droppedRepetitions": "the first of every process (JIT, interpreter, caches)",
  "interleaving": "each round runs every level once per implementation, one process each; the implementations' order rotates by level and round",
  "fileCache": "warm: every dataset was read once before the measured runs; the OS file cache is not cleared",
  "wallMs": "per repetition, measured by the program itself (startup excluded)",
  "cpuMs": "per repetition, the program's process CPU time (user + kernel, every thread; Windows tick 15.6 ms)",
  "peakWorkingSet": "the process's peak working set, measured from outside after it exited (runtime included)",
  "priority": "normal; no affinity, no pinning",
  "timeoutSeconds": 1800,
  "levels": [
   "L0-raw",
   "L1-lines",
   "L2-literal-error",
   "L3-count-5xx",
   "L3-count-503-post",
   "L4-top-ip-5xx",
   "regex-elapsed-ge-1000"
  ],
  "retainedResults": true,
  "workflow": {
   "modes": [
    "warm",
    "cold"
   ],
   "measuredRepetitions": 5
  }
 },
 "implementations": {
  "cpp": "minimal C++ reference - MSVC, static CRT, the C# program written as minimally (cpp/minimal.cpp); an engineering reference",
  "csharp": "C# - .NET, Release, framework-dependent, 1 MB blocks as byte spans (csharp/Program.cs)",
  "python": "Python - CPython, the standard library (python/bench.py)",
  "pwsh": "PowerShell 7 - optimized streaming (powershell/bench.ps1)",
  "powershell": "Windows PowerShell 5.1 - optimized streaming (powershell/bench.ps1)",
  "tktail": "TKTail engine - tktail_bench levels: the SearchService session on the open document (no MCP, no window); L0 / L1 its reader and line walk"
 },
 "ratios": "xVsTktail = the implementation's median / TKTail engine's median of the same level (above 1: it took longer)",
 "levels": [
  {
   "level": "L0",
   "key": "L0-raw",
   "work": "raw I/O: every byte in 1 MiB blocks",
   "scenario": "raw",
   "tktailRow": "P0",
   "dataset": "iis-100mb",
   "datasetBytes": 104857716,
   "algorithmsDiffer": false,
   "implementations": {
    "cpp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 28.1,
     "wallMsMin": 24.8,
     "wallMsMax": 34.8,
     "spreadPct": 35.3,
     "cpuMsMedian": 31.2,
     "peakWorkingSetMB": 5.4,
     "throughputMBps": 3725.2,
     "result": {
      "bytes": 104857716
     },
     "consistent": true,
     "wallVsTktail": 1.03,
     "cpuVsTktail": 1.0
    },
    "csharp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 27.4,
     "wallMsMin": 23.8,
     "wallMsMax": 29.1,
     "spreadPct": 19.3,
     "cpuMsMedian": 31.2,
     "peakWorkingSetMB": 31.4,
     "throughputMBps": 3827.6,
     "result": {
      "bytes": 104857716
     },
     "consistent": true,
     "wallVsTktail": 1.01,
     "cpuVsTktail": 1.0
    },
    "python": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 28.3,
     "wallMsMin": 26.5,
     "wallMsMax": 30.5,
     "spreadPct": 14.2,
     "cpuMsMedian": 31.2,
     "peakWorkingSetMB": 21.1,
     "throughputMBps": 3709.9,
     "result": {
      "bytes": 104857716
     },
     "consistent": true,
     "wallVsTktail": 1.04,
     "cpuVsTktail": 1.0
    },
    "pwsh": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 32.4,
     "wallMsMin": 27.9,
     "wallMsMax": 54.4,
     "spreadPct": 81.8,
     "cpuMsMedian": 31.2,
     "peakWorkingSetMB": 93.8,
     "throughputMBps": 3240.5,
     "result": {
      "bytes": 104857716
     },
     "consistent": true,
     "wallVsTktail": 1.19,
     "cpuVsTktail": 1.0
    },
    "powershell": {
     "runs": 6,
     "processes": 3,
     "wallMsMedian": 32.2,
     "wallMsMin": 29.9,
     "wallMsMax": 43.9,
     "spreadPct": 43.6,
     "cpuMsMedian": 31.2,
     "peakWorkingSetMB": 93.3,
     "throughputMBps": 3259.2,
     "result": {
      "bytes": 104857716
     },
     "consistent": true,
     "wallVsTktail": 1.18,
     "cpuVsTktail": 1.0
    },
    "tktail": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 27.2,
     "wallMsMin": 25.1,
     "wallMsMax": 33.4,
     "spreadPct": 30.5,
     "cpuMsMedian": 31.2,
     "peakWorkingSetMB": 10.9,
     "throughputMBps": 3851.0,
     "result": {
      "bytes": 104857716
     },
     "consistent": true
    }
   },
   "notImplemented": [],
   "failed": {},
   "notMeasured": [],
   "oracle": {
    "bytes": 104857716
   },
   "equivalence": "equivalent",
   "result": {
    "bytes": 104857716
   },
   "oracleMatches": true,
   "classification": {
    "class": "WIN",
    "tktailVsBaseline": 0.99,
    "baseline": "csharp",
    "cpuTktailVsBaseline": 1.0
   }
  },
  {
   "level": "L1",
   "key": "L1-lines",
   "work": "record framing: every line end (LF / CRLF), one physical line = one record",
   "scenario": "lines",
   "tktailRow": "P1",
   "dataset": "iis-100mb",
   "datasetBytes": 104857716,
   "algorithmsDiffer": false,
   "implementations": {
    "cpp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 50.7,
     "wallMsMin": 47.9,
     "wallMsMax": 57.3,
     "spreadPct": 18.5,
     "cpuMsMedian": 46.9,
     "peakWorkingSetMB": 5.0,
     "throughputMBps": 2070.1,
     "result": {
      "count": 779407
     },
     "consistent": true,
     "wallVsTktail": 0.61,
     "cpuVsTktail": 0.6
    },
    "csharp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 42.8,
     "wallMsMin": 39.7,
     "wallMsMax": 45.8,
     "spreadPct": 14.3,
     "cpuMsMedian": 46.9,
     "peakWorkingSetMB": 32.7,
     "throughputMBps": 2452.0,
     "result": {
      "count": 779407
     },
     "consistent": true,
     "wallVsTktail": 0.52,
     "cpuVsTktail": 0.6
    },
    "python": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 74.3,
     "wallMsMin": 64.8,
     "wallMsMax": 86.9,
     "spreadPct": 29.8,
     "cpuMsMedian": 78.1,
     "peakWorkingSetMB": 21.1,
     "throughputMBps": 1412.1,
     "result": {
      "count": 779407
     },
     "consistent": true,
     "wallVsTktail": 0.9,
     "cpuVsTktail": 1.0
    },
    "pwsh": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 170.8,
     "wallMsMin": 142.1,
     "wallMsMax": 212.4,
     "spreadPct": 41.2,
     "cpuMsMedian": 296.9,
     "peakWorkingSetMB": 137.1,
     "throughputMBps": 614.0,
     "result": {
      "count": 779407
     },
     "consistent": true,
     "wallVsTktail": 2.06,
     "cpuVsTktail": 3.8
    },
    "powershell": {
     "runs": 6,
     "processes": 3,
     "wallMsMedian": 612.5,
     "wallMsMin": 599.5,
     "wallMsMax": 654.5,
     "spreadPct": 9.0,
     "cpuMsMedian": 609.4,
     "peakWorkingSetMB": 106.3,
     "throughputMBps": 171.2,
     "result": {
      "count": 779407
     },
     "consistent": true,
     "wallVsTktail": 7.39,
     "cpuVsTktail": 7.8
    },
    "tktail": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 82.9,
     "wallMsMin": 74.8,
     "wallMsMax": 126.5,
     "spreadPct": 62.3,
     "cpuMsMedian": 78.1,
     "peakWorkingSetMB": 14.3,
     "throughputMBps": 1264.6,
     "result": {
      "count": 779407
     },
     "consistent": true
    }
   },
   "notImplemented": [],
   "failed": {},
   "notMeasured": [],
   "oracle": null,
   "equivalence": "equivalent",
   "result": {
    "count": 779407
   },
   "oracleMatches": null,
   "classification": {
    "class": "MATERIAL LOSS",
    "tktailVsBaseline": 1.94,
    "baseline": "csharp",
    "cpuTktailVsBaseline": 1.67
   }
  },
  {
   "level": "L2",
   "key": "L2-literal-error",
   "work": "simple search: lines containing the literal ERROR (case-sensitive), counted",
   "scenario": "literal-error",
   "tktailRow": "E6c",
   "dataset": "applog-100mb",
   "datasetBytes": 104857833,
   "algorithmsDiffer": false,
   "implementations": {
    "cpp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 74.1,
     "wallMsMin": 60.1,
     "wallMsMax": 95.8,
     "spreadPct": 48.3,
     "cpuMsMedian": 62.5,
     "peakWorkingSetMB": 5.0,
     "throughputMBps": 1415.3,
     "result": {
      "count": 44261
     },
     "consistent": true,
     "wallVsTktail": 0.94,
     "cpuVsTktail": 0.8
    },
    "csharp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 51.7,
     "wallMsMin": 37.4,
     "wallMsMax": 87.3,
     "spreadPct": 96.4,
     "cpuMsMedian": 62.5,
     "peakWorkingSetMB": 32.8,
     "throughputMBps": 2029.8,
     "result": {
      "count": 44261
     },
     "consistent": true,
     "wallVsTktail": 0.66,
     "cpuVsTktail": 0.8
    },
    "python": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 348.7,
     "wallMsMin": 321.3,
     "wallMsMax": 411.5,
     "spreadPct": 25.9,
     "cpuMsMedian": 343.8,
     "peakWorkingSetMB": 21.5,
     "throughputMBps": 300.8,
     "result": {
      "count": 44261
     },
     "consistent": true,
     "wallVsTktail": 4.43,
     "cpuVsTktail": 4.4
    },
    "pwsh": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 336.9,
     "wallMsMin": 318.7,
     "wallMsMax": 408.1,
     "spreadPct": 26.6,
     "cpuMsMedian": 453.1,
     "peakWorkingSetMB": 121.5,
     "throughputMBps": 311.3,
     "result": {
      "count": 44261
     },
     "consistent": true,
     "wallVsTktail": 4.28,
     "cpuVsTktail": 5.8
    },
    "powershell": {
     "runs": 6,
     "processes": 3,
     "wallMsMedian": 481.3,
     "wallMsMin": 456.1,
     "wallMsMax": 525.8,
     "spreadPct": 14.5,
     "cpuMsMedian": 484.4,
     "peakWorkingSetMB": 164.5,
     "throughputMBps": 217.9,
     "result": {
      "count": 44261
     },
     "consistent": true,
     "wallVsTktail": 6.12,
     "cpuVsTktail": 6.2
    },
    "tktail": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 78.7,
     "wallMsMin": 60.9,
     "wallMsMax": 112.8,
     "spreadPct": 65.9,
     "cpuMsMedian": 78.1,
     "peakWorkingSetMB": 21.4,
     "throughputMBps": 1332.0,
     "result": {
      "count": 44261
     },
     "consistent": true
    }
   },
   "notImplemented": [],
   "failed": {},
   "notMeasured": [],
   "oracle": {
    "count": 44261
   },
   "equivalence": "equivalent",
   "result": {
    "count": 44261
   },
   "oracleMatches": true,
   "classification": {
    "class": "MATERIAL LOSS",
    "tktailVsBaseline": 1.52,
    "baseline": "csharp",
    "cpuTktailVsBaseline": 1.25
   }
  },
  {
   "level": "L3",
   "key": "L3-count-5xx",
   "work": "structured search: #Fields read from the file, sc-status >= 500, counted",
   "scenario": "count-5xx",
   "tktailRow": "E1c",
   "dataset": "iis-100mb",
   "datasetBytes": 104857716,
   "algorithmsDiffer": false,
   "implementations": {
    "cpp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 158.8,
     "wallMsMin": 146.0,
     "wallMsMax": 174.6,
     "spreadPct": 18.0,
     "cpuMsMedian": 156.2,
     "peakWorkingSetMB": 5.0,
     "throughputMBps": 660.1,
     "result": {
      "count": 23406
     },
     "consistent": true,
     "wallVsTktail": 1.53,
     "cpuVsTktail": 1.43
    },
    "csharp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 125.9,
     "wallMsMin": 108.3,
     "wallMsMax": 282.5,
     "spreadPct": 138.3,
     "cpuMsMedian": 125,
     "peakWorkingSetMB": 32.8,
     "throughputMBps": 832.7,
     "result": {
      "count": 23406
     },
     "consistent": true,
     "wallVsTktail": 1.21,
     "cpuVsTktail": 1.14
    },
    "python": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 552.0,
     "wallMsMin": 525.4,
     "wallMsMax": 644.3,
     "spreadPct": 21.5,
     "cpuMsMedian": 546.9,
     "peakWorkingSetMB": 21.6,
     "throughputMBps": 189.9,
     "result": {
      "count": 23406
     },
     "consistent": true,
     "wallVsTktail": 5.31,
     "cpuVsTktail": 5.0
    },
    "pwsh": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 1138.7,
     "wallMsMin": 945.2,
     "wallMsMax": 1336.2,
     "spreadPct": 34.3,
     "cpuMsMedian": 1250.0,
     "peakWorkingSetMB": 125.2,
     "throughputMBps": 92.1,
     "result": {
      "count": 23406
     },
     "consistent": true,
     "wallVsTktail": 10.96,
     "cpuVsTktail": 11.43
    },
    "powershell": {
     "runs": 6,
     "processes": 3,
     "wallMsMedian": 1700.7,
     "wallMsMin": 1413.7,
     "wallMsMax": 2272.3,
     "spreadPct": 50.5,
     "cpuMsMedian": 1609.4,
     "peakWorkingSetMB": 167.8,
     "throughputMBps": 61.7,
     "result": {
      "count": 23406
     },
     "consistent": true,
     "wallVsTktail": 16.37,
     "cpuVsTktail": 14.71
    },
    "tktail": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 103.9,
     "wallMsMin": 94.6,
     "wallMsMax": 132.3,
     "spreadPct": 36.3,
     "cpuMsMedian": 109.4,
     "peakWorkingSetMB": 14.0,
     "throughputMBps": 1009.4,
     "result": {
      "count": 23406
     },
     "consistent": true
    }
   },
   "notImplemented": [],
   "failed": {},
   "notMeasured": [],
   "oracle": {
    "count": 23406
   },
   "equivalence": "equivalent",
   "result": {
    "count": 23406
   },
   "oracleMatches": true,
   "classification": {
    "class": "WIN",
    "tktailVsBaseline": 0.83,
    "baseline": "csharp",
    "cpuTktailVsBaseline": 0.88
   }
  },
  {
   "level": "L3",
   "key": "L3-count-503-post",
   "work": "structured search: sc-status = 503 and cs-method = POST, counted",
   "scenario": "count-503-post",
   "tktailRow": "E8c",
   "dataset": "iis-100mb",
   "datasetBytes": 104857716,
   "algorithmsDiffer": false,
   "implementations": {
    "cpp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 161.5,
     "wallMsMin": 142.8,
     "wallMsMax": 187.4,
     "spreadPct": 27.6,
     "cpuMsMedian": 156.2,
     "peakWorkingSetMB": 5.0,
     "throughputMBps": 649.3,
     "result": {
      "count": 1365
     },
     "consistent": true,
     "wallVsTktail": 1.58,
     "cpuVsTktail": 1.67
    },
    "csharp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 116.1,
     "wallMsMin": 105.9,
     "wallMsMax": 165.3,
     "spreadPct": 51.2,
     "cpuMsMedian": 125,
     "peakWorkingSetMB": 32.9,
     "throughputMBps": 903.3,
     "result": {
      "count": 1365
     },
     "consistent": true,
     "wallVsTktail": 1.14,
     "cpuVsTktail": 1.33
    },
    "python": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 488.3,
     "wallMsMin": 465.2,
     "wallMsMax": 524.0,
     "spreadPct": 12.0,
     "cpuMsMedian": 484.4,
     "peakWorkingSetMB": 21.7,
     "throughputMBps": 214.7,
     "result": {
      "count": 1365
     },
     "consistent": true,
     "wallVsTktail": 4.78,
     "cpuVsTktail": 5.16
    },
    "pwsh": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 1127.4,
     "wallMsMin": 967.1,
     "wallMsMax": 1327.7,
     "spreadPct": 32.0,
     "cpuMsMedian": 1156.2,
     "peakWorkingSetMB": 125.2,
     "throughputMBps": 93.0,
     "result": {
      "count": 1365
     },
     "consistent": true,
     "wallVsTktail": 11.03,
     "cpuVsTktail": 12.33
    },
    "powershell": {
     "runs": 6,
     "processes": 3,
     "wallMsMedian": 1828.6,
     "wallMsMin": 1472.2,
     "wallMsMax": 2147.4,
     "spreadPct": 36.9,
     "cpuMsMedian": 1765.6,
     "peakWorkingSetMB": 167.2,
     "throughputMBps": 57.3,
     "result": {
      "count": 1365
     },
     "consistent": true,
     "wallVsTktail": 17.89,
     "cpuVsTktail": 18.82
    },
    "tktail": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 102.2,
     "wallMsMin": 85.0,
     "wallMsMax": 111.0,
     "spreadPct": 25.4,
     "cpuMsMedian": 93.8,
     "peakWorkingSetMB": 12.3,
     "throughputMBps": 1025.8,
     "result": {
      "count": 1365
     },
     "consistent": true
    }
   },
   "notImplemented": [],
   "failed": {},
   "notMeasured": [],
   "oracle": {
    "count": 1365
   },
   "equivalence": "equivalent",
   "result": {
    "count": 1365
   },
   "oracleMatches": true,
   "classification": {
    "class": "WIN",
    "tktailVsBaseline": 0.88,
    "baseline": "csharp",
    "cpuTktailVsBaseline": 0.75
   }
  },
  {
   "level": "L4",
   "key": "L4-top-ip-5xx",
   "work": "aggregation: sc-status >= 500 grouped by c-ip, top 10 (count descending, then the value)",
   "scenario": "top-ip-5xx",
   "tktailRow": "E2c",
   "dataset": "iis-100mb",
   "datasetBytes": 104857716,
   "algorithmsDiffer": false,
   "implementations": {
    "cpp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 154.4,
     "wallMsMin": 140.0,
     "wallMsMax": 172.6,
     "spreadPct": 21.1,
     "cpuMsMedian": 156.2,
     "peakWorkingSetMB": 5.1,
     "throughputMBps": 679.0,
     "result": {
      "count": 23406,
      "top": [
       [
        "203.0.113.12",
        2330
       ],
       [
        "203.0.113.49",
        2065
       ],
       [
        "203.0.113.86",
        1834
       ],
       [
        "203.0.113.123",
        1543
       ],
       [
        "203.0.113.160",
        1323
       ],
       [
        "203.0.113.197",
        1095
       ],
       [
        "203.0.113.234",
        799
       ],
       [
        "198.51.100.17",
        658
       ],
       [
        "198.51.100.54",
        524
       ],
       [
        "198.51.100.91",
        383
       ]
      ]
     },
     "consistent": true,
     "wallVsTktail": 1.43,
     "cpuVsTktail": 1.43
    },
    "csharp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 125.3,
     "wallMsMin": 121.0,
     "wallMsMax": 134.7,
     "spreadPct": 10.9,
     "cpuMsMedian": 125,
     "peakWorkingSetMB": 34.5,
     "throughputMBps": 836.6,
     "result": {
      "count": 23406,
      "top": [
       [
        "203.0.113.12",
        2330
       ],
       [
        "203.0.113.49",
        2065
       ],
       [
        "203.0.113.86",
        1834
       ],
       [
        "203.0.113.123",
        1543
       ],
       [
        "203.0.113.160",
        1323
       ],
       [
        "203.0.113.197",
        1095
       ],
       [
        "203.0.113.234",
        799
       ],
       [
        "198.51.100.17",
        658
       ],
       [
        "198.51.100.54",
        524
       ],
       [
        "198.51.100.91",
        383
       ]
      ]
     },
     "consistent": true,
     "wallVsTktail": 1.16,
     "cpuVsTktail": 1.14
    },
    "python": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 525.2,
     "wallMsMin": 485.1,
     "wallMsMax": 563.0,
     "spreadPct": 14.8,
     "cpuMsMedian": 500.0,
     "peakWorkingSetMB": 21.9,
     "throughputMBps": 199.6,
     "result": {
      "count": 23406,
      "top": [
       [
        "203.0.113.12",
        2330
       ],
       [
        "203.0.113.49",
        2065
       ],
       [
        "203.0.113.86",
        1834
       ],
       [
        "203.0.113.123",
        1543
       ],
       [
        "203.0.113.160",
        1323
       ],
       [
        "203.0.113.197",
        1095
       ],
       [
        "203.0.113.234",
        799
       ],
       [
        "198.51.100.17",
        658
       ],
       [
        "198.51.100.54",
        524
       ],
       [
        "198.51.100.91",
        383
       ]
      ]
     },
     "consistent": true,
     "wallVsTktail": 4.86,
     "cpuVsTktail": 4.57
    },
    "pwsh": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 1362.7,
     "wallMsMin": 1031.3,
     "wallMsMax": 1753.2,
     "spreadPct": 53.0,
     "cpuMsMedian": 1609.4,
     "peakWorkingSetMB": 129.8,
     "throughputMBps": 77.0,
     "result": {
      "count": 23406,
      "top": [
       [
        "203.0.113.12",
        2330
       ],
       [
        "203.0.113.49",
        2065
       ],
       [
        "203.0.113.86",
        1834
       ],
       [
        "203.0.113.123",
        1543
       ],
       [
        "203.0.113.160",
        1323
       ],
       [
        "203.0.113.197",
        1095
       ],
       [
        "203.0.113.234",
        799
       ],
       [
        "198.51.100.17",
        658
       ],
       [
        "198.51.100.54",
        524
       ],
       [
        "198.51.100.91",
        383
       ]
      ]
     },
     "consistent": true,
     "wallVsTktail": 12.62,
     "cpuVsTktail": 14.71
    },
    "powershell": {
     "runs": 6,
     "processes": 3,
     "wallMsMedian": 2007.1,
     "wallMsMin": 1778.3,
     "wallMsMax": 2120.8,
     "spreadPct": 17.1,
     "cpuMsMedian": 1921.8,
     "peakWorkingSetMB": 174.8,
     "throughputMBps": 52.2,
     "result": {
      "count": 23406,
      "top": [
       [
        "203.0.113.12",
        2330
       ],
       [
        "203.0.113.49",
        2065
       ],
       [
        "203.0.113.86",
        1834
       ],
       [
        "203.0.113.123",
        1543
       ],
       [
        "203.0.113.160",
        1323
       ],
       [
        "203.0.113.197",
        1095
       ],
       [
        "203.0.113.234",
        799
       ],
       [
        "198.51.100.17",
        658
       ],
       [
        "198.51.100.54",
        524
       ],
       [
        "198.51.100.91",
        383
       ]
      ]
     },
     "consistent": true,
     "wallVsTktail": 18.58,
     "cpuVsTktail": 17.57
    },
    "tktail": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 108.0,
     "wallMsMin": 103.7,
     "wallMsMax": 119.8,
     "spreadPct": 15.0,
     "cpuMsMedian": 109.4,
     "peakWorkingSetMB": 15.0,
     "throughputMBps": 970.6,
     "result": {
      "count": 23406,
      "top": [
       [
        "203.0.113.12",
        2330
       ],
       [
        "203.0.113.49",
        2065
       ],
       [
        "203.0.113.86",
        1834
       ],
       [
        "203.0.113.123",
        1543
       ],
       [
        "203.0.113.160",
        1323
       ],
       [
        "203.0.113.197",
        1095
       ],
       [
        "203.0.113.234",
        799
       ],
       [
        "198.51.100.17",
        658
       ],
       [
        "198.51.100.54",
        524
       ],
       [
        "198.51.100.91",
        383
       ]
      ]
     },
     "consistent": true
    }
   },
   "notImplemented": [],
   "failed": {},
   "notMeasured": [],
   "oracle": {
    "count": 23406,
    "top": [
     [
      "203.0.113.12",
      2330
     ],
     [
      "203.0.113.49",
      2065
     ],
     [
      "203.0.113.86",
      1834
     ],
     [
      "203.0.113.123",
      1543
     ],
     [
      "203.0.113.160",
      1323
     ],
     [
      "203.0.113.197",
      1095
     ],
     [
      "203.0.113.234",
      799
     ],
     [
      "198.51.100.17",
      658
     ],
     [
      "198.51.100.54",
      524
     ],
     [
      "198.51.100.91",
      383
     ]
    ]
   },
   "equivalence": "equivalent",
   "result": {
    "count": 23406,
    "top": [
     [
      "203.0.113.12",
      2330
     ],
     [
      "203.0.113.49",
      2065
     ],
     [
      "203.0.113.86",
      1834
     ],
     [
      "203.0.113.123",
      1543
     ],
     [
      "203.0.113.160",
      1323
     ],
     [
      "203.0.113.197",
      1095
     ],
     [
      "203.0.113.234",
      799
     ],
     [
      "198.51.100.17",
      658
     ],
     [
      "198.51.100.54",
      524
     ],
     [
      "198.51.100.91",
      383
     ]
    ]
   },
   "oracleMatches": true,
   "classification": {
    "class": "WIN",
    "tktailVsBaseline": 0.86,
    "baseline": "csharp",
    "cpuTktailVsBaseline": 0.88
   }
  },
  {
   "level": "regex",
   "key": "regex-elapsed-ge-1000",
   "work": "number from text: records with elapsed: <n>ms >= 1000 - TKTail a regex named capture, the programs a literal find and a number parse (the same answer, different algorithms)",
   "scenario": "elapsed-ge-1000",
   "tktailRow": "E7c",
   "dataset": "applog-100mb",
   "datasetBytes": 104857833,
   "algorithmsDiffer": true,
   "implementations": {
    "cpp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 130.6,
     "wallMsMin": 123.8,
     "wallMsMax": 146.5,
     "spreadPct": 17.4,
     "cpuMsMedian": 125.0,
     "peakWorkingSetMB": 5.0,
     "throughputMBps": 802.7,
     "result": {
      "count": 30185
     },
     "consistent": true,
     "wallVsTktail": 0.33,
     "cpuVsTktail": 0.32
    },
    "csharp": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 94.1,
     "wallMsMin": 84.9,
     "wallMsMax": 128.3,
     "spreadPct": 46.1,
     "cpuMsMedian": 109.4,
     "peakWorkingSetMB": 33.1,
     "throughputMBps": 1114.2,
     "result": {
      "count": 30185
     },
     "consistent": true,
     "wallVsTktail": 0.24,
     "cpuVsTktail": 0.28
    },
    "python": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 391.8,
     "wallMsMin": 353.9,
     "wallMsMax": 404.4,
     "spreadPct": 12.9,
     "cpuMsMedian": 375.0,
     "peakWorkingSetMB": 21.4,
     "throughputMBps": 267.7,
     "result": {
      "count": 30185
     },
     "consistent": true,
     "wallVsTktail": 1.0,
     "cpuVsTktail": 0.96
    },
    "pwsh": {
     "runs": 9,
     "processes": 3,
     "wallMsMedian": 1692.6,
     "wallMsMin": 1237.6,
     "wallMsMax": 1907.6,
     "spreadPct": 39.6,
     "cpuMsMedian": 1734.4,
     "peakWorkingSetMB": 123.2,
     "throughputMBps": 62.0,
     "result": {
      "count": 30185
     },
     "consistent": true,
     "wallVsTktail": 4.34,
     "cpuVsTktail": 4.44
    },
    "powershell": {
     "runs": 6,
     "processes": 3,
     "wallMsMedian": 1749.4,
     "wallMsMin": 1251.9,
     "wallMsMax": 1970.7,
     "spreadPct": 41.1,
     "cpuMsMedian": 1718.7,
     "peakWorkingSetMB": 166.0,
     "throughputMBps": 59.9,
     "result": {
      "count": 30185
     },
     "consistent": true,
     "wallVsTktail": 4.48,
     "cpuVsTktail": 4.4
    },
    "tktail": {
     "runs": 15,
     "processes": 3,
     "wallMsMedian": 390.3,
     "wallMsMin": 366.9,
     "wallMsMax": 448.0,
     "spreadPct": 20.8,
     "cpuMsMedian": 390.6,
     "peakWorkingSetMB": 13.8,
     "throughputMBps": 268.7,
     "result": {
      "count": 30185
     },
     "consistent": true
    }
   },
   "notImplemented": [],
   "failed": {},
   "notMeasured": [],
   "oracle": {
    "count": 30185
   },
   "equivalence": "equivalent",
   "result": {
    "count": 30185
   },
   "oracleMatches": true,
   "classification": {
    "class": "MATERIAL LOSS",
    "tktailVsBaseline": 4.15,
    "baseline": "csharp",
    "cpuTktailVsBaseline": 3.57
   }
  }
 ],
 "retainedResults": [
  {
   "level": "L5",
   "key": "L5-count-5xx",
   "scenario": "count-5xx",
   "tktailRow": "E1",
   "comparesTo": "L3-count-5xx",
   "comparable": false,
   "note": "TKTail only: the session keeps up to 5,000 results for paging (the product default)",
   "tktail": {
    "runs": 15,
    "processes": 3,
    "wallMsMedian": 102.8,
    "wallMsMin": 95.5,
    "wallMsMax": 128.8,
    "spreadPct": 32.5,
    "cpuMsMedian": 93.8,
    "peakWorkingSetMB": 14.9,
    "throughputMBps": 1019.9,
    "result": {
     "count": 23406
    },
    "consistent": true
   },
   "sameAnswerAsCountOnly": true,
   "retentionCostWallMs": -1.1,
   "retentionCostCpuMs": -15.6
  },
  {
   "level": "L5",
   "key": "L5-top-ip-5xx",
   "scenario": "top-ip-5xx",
   "tktailRow": "E2",
   "comparesTo": "L4-top-ip-5xx",
   "comparable": false,
   "note": "TKTail only: the session keeps up to 5,000 results for paging (the product default)",
   "tktail": {
    "runs": 15,
    "processes": 3,
    "wallMsMedian": 115.0,
    "wallMsMin": 103.9,
    "wallMsMax": 134.5,
    "spreadPct": 26.6,
    "cpuMsMedian": 109.4,
    "peakWorkingSetMB": 15.8,
    "throughputMBps": 911.5,
    "result": {
     "count": 23406,
     "top": [
      [
       "203.0.113.12",
       2330
      ],
      [
       "203.0.113.49",
       2065
      ],
      [
       "203.0.113.86",
       1834
      ],
      [
       "203.0.113.123",
       1543
      ],
      [
       "203.0.113.160",
       1323
      ],
      [
       "203.0.113.197",
       1095
      ],
      [
       "203.0.113.234",
       799
      ],
      [
       "198.51.100.17",
       658
      ],
      [
       "198.51.100.54",
       524
      ],
      [
       "198.51.100.91",
       383
      ]
     ]
    },
    "consistent": true
   },
   "sameAnswerAsCountOnly": true,
   "retentionCostWallMs": 7.0,
   "retentionCostCpuMs": 0.0
  },
  {
   "level": "L5",
   "key": "L5-literal-error",
   "scenario": "literal-error",
   "tktailRow": "E6",
   "comparesTo": "L2-literal-error",
   "comparable": false,
   "note": "TKTail only: the session keeps up to 5,000 results for paging (the product default)",
   "tktail": {
    "runs": 15,
    "processes": 3,
    "wallMsMedian": 64.4,
    "wallMsMin": 60.7,
    "wallMsMax": 86.0,
    "spreadPct": 39.3,
    "cpuMsMedian": 62.5,
    "peakWorkingSetMB": 22.4,
    "throughputMBps": 1627.7,
    "result": {
     "count": 44261
    },
    "consistent": true
   },
   "sameAnswerAsCountOnly": true,
   "retentionCostWallMs": -14.3,
   "retentionCostCpuMs": -15.6
  },
  {
   "level": "L5",
   "key": "L5-elapsed-ge-1000",
   "scenario": "elapsed-ge-1000",
   "tktailRow": "E7",
   "comparesTo": "regex-elapsed-ge-1000",
   "comparable": false,
   "note": "TKTail only: the session keeps up to 5,000 results for paging (the product default)",
   "tktail": {
    "runs": 15,
    "processes": 3,
    "wallMsMedian": 385.2,
    "wallMsMin": 366.3,
    "wallMsMax": 425.8,
    "spreadPct": 15.4,
    "cpuMsMedian": 390.6,
    "peakWorkingSetMB": 14.7,
    "throughputMBps": 272.2,
    "result": {
     "count": 30185
    },
    "consistent": true
   },
   "sameAnswerAsCountOnly": true,
   "retentionCostWallMs": -5.1,
   "retentionCostCpuMs": 0.0
  }
 ],
 "workflow": {
  "label": "Product workflow - TKTail.exe through MCP (JSON-RPC over stdio, the bridge process, the window's search session with results retained, provenance). Warm: the files open and indexed, one MCP session. Cold: a new window per question - start, open, detect, answer. Not an engine level: never compared with the programs' rows.",
  "rows": [
   {
    "mode": "cold",
    "scenario": "count-503-post",
    "level": "L3-count-503-post",
    "dataset": "iis-100mb",
    "tktail": {
     "runs": 5,
     "processes": null,
     "wallMsMedian": 1499.8,
     "wallMsMin": 1086.6,
     "wallMsMax": 1957.9,
     "spreadPct": 58.1,
     "cpuMsMedian": 1500.0,
     "peakWorkingSetMB": 68.2,
     "throughputMBps": 69.9,
     "result": {
      "count": 1365
     },
     "consistent": true
    },
    "answerBytesMedian": 980,
    "mcpCallsMedian": 1,
    "sameAnswerAsLevels": true,
    "wallVsEngine": 14.68
   },
   {
    "mode": "cold",
    "scenario": "count-5xx",
    "level": "L3-count-5xx",
    "dataset": "iis-100mb",
    "tktail": {
     "runs": 5,
     "processes": null,
     "wallMsMedian": 1042.1,
     "wallMsMin": 927.9,
     "wallMsMax": 1170.3,
     "spreadPct": 23.3,
     "cpuMsMedian": 1218.8,
     "peakWorkingSetMB": 70.4,
     "throughputMBps": 100.6,
     "result": {
      "count": 23406
     },
     "consistent": true
    },
    "answerBytesMedian": 917,
    "mcpCallsMedian": 1,
    "sameAnswerAsLevels": true,
    "wallVsEngine": 10.03
   },
   {
    "mode": "cold",
    "scenario": "elapsed-ge-1000",
    "level": "regex-elapsed-ge-1000",
    "dataset": "applog-100mb",
    "tktail": {
     "runs": 5,
     "processes": null,
     "wallMsMedian": 1343.0,
     "wallMsMin": 1289.3,
     "wallMsMax": 1565.8,
     "spreadPct": 20.6,
     "cpuMsMedian": 1703.1,
     "peakWorkingSetMB": 70.7,
     "throughputMBps": 78.1,
     "result": {
      "count": 30185
     },
     "consistent": true
    },
    "answerBytesMedian": 1028,
    "mcpCallsMedian": 1,
    "sameAnswerAsLevels": true,
    "wallVsEngine": 3.44
   },
   {
    "mode": "cold",
    "scenario": "literal-error",
    "level": "L2-literal-error",
    "dataset": "applog-100mb",
    "tktail": {
     "runs": 5,
     "processes": null,
     "wallMsMedian": 1207.5,
     "wallMsMin": 1158.0,
     "wallMsMax": 1598.4,
     "spreadPct": 36.5,
     "cpuMsMedian": 1250.0,
     "peakWorkingSetMB": 77.7,
     "throughputMBps": 86.8,
     "result": {
      "count": 44261
     },
     "consistent": true
    },
    "answerBytesMedian": 871,
    "mcpCallsMedian": 1,
    "sameAnswerAsLevels": true,
    "wallVsEngine": 15.34
   },
   {
    "mode": "cold",
    "scenario": "top-ip-5xx",
    "level": "L4-top-ip-5xx",
    "dataset": "iis-100mb",
    "tktail": {
     "runs": 5,
     "processes": null,
     "wallMsMedian": 1273.4,
     "wallMsMin": 1079.5,
     "wallMsMax": 1383.4,
     "spreadPct": 23.9,
     "cpuMsMedian": 1546.9,
     "peakWorkingSetMB": 70.9,
     "throughputMBps": 82.3,
     "result": {
      "count": 23406,
      "top": [
       [
        "203.0.113.12",
        2330
       ],
       [
        "203.0.113.49",
        2065
       ],
       [
        "203.0.113.86",
        1834
       ],
       [
        "203.0.113.123",
        1543
       ],
       [
        "203.0.113.160",
        1323
       ],
       [
        "203.0.113.197",
        1095
       ],
       [
        "203.0.113.234",
        799
       ],
       [
        "198.51.100.17",
        658
       ],
       [
        "198.51.100.54",
        524
       ],
       [
        "198.51.100.91",
        383
       ]
      ]
     },
     "consistent": true
    },
    "answerBytesMedian": 4440,
    "mcpCallsMedian": 1,
    "sameAnswerAsLevels": true,
    "wallVsEngine": 11.79
   },
   {
    "mode": "warm",
    "scenario": "count-503-post",
    "level": "L3-count-503-post",
    "dataset": "iis-100mb",
    "tktail": {
     "runs": 5,
     "processes": null,
     "wallMsMedian": 108.1,
     "wallMsMin": 94.9,
     "wallMsMax": 122.0,
     "spreadPct": 25.1,
     "cpuMsMedian": 93.8,
     "peakWorkingSetMB": 80.0,
     "throughputMBps": 970.0,
     "result": {
      "count": 1365
     },
     "consistent": true
    },
    "answerBytesMedian": 981,
    "mcpCallsMedian": 1,
    "sameAnswerAsLevels": true,
    "wallVsEngine": 1.06
   },
   {
    "mode": "warm",
    "scenario": "count-5xx",
    "level": "L3-count-5xx",
    "dataset": "iis-100mb",
    "tktail": {
     "runs": 5,
     "processes": null,
     "wallMsMedian": 129.6,
     "wallMsMin": 113.4,
     "wallMsMax": 137.2,
     "spreadPct": 18.4,
     "cpuMsMedian": 125.0,
     "peakWorkingSetMB": 80.0,
     "throughputMBps": 809.1,
     "result": {
      "count": 23406
     },
     "consistent": true
    },
    "answerBytesMedian": 918,
    "mcpCallsMedian": 1,
    "sameAnswerAsLevels": true,
    "wallVsEngine": 1.25
   },
   {
    "mode": "warm",
    "scenario": "elapsed-ge-1000",
    "level": "regex-elapsed-ge-1000",
    "dataset": "applog-100mb",
    "tktail": {
     "runs": 5,
     "processes": null,
     "wallMsMedian": 448.4,
     "wallMsMin": 426.7,
     "wallMsMax": 505.3,
     "spreadPct": 17.5,
     "cpuMsMedian": 468.8,
     "peakWorkingSetMB": 80.0,
     "throughputMBps": 233.8,
     "result": {
      "count": 30185
     },
     "consistent": true
    },
    "answerBytesMedian": 1029,
    "mcpCallsMedian": 1,
    "sameAnswerAsLevels": true,
    "wallVsEngine": 1.15
   },
   {
    "mode": "warm",
    "scenario": "literal-error",
    "level": "L2-literal-error",
    "dataset": "applog-100mb",
    "tktail": {
     "runs": 5,
     "processes": null,
     "wallMsMedian": 80.6,
     "wallMsMin": 73.8,
     "wallMsMax": 86.7,
     "spreadPct": 16.0,
     "cpuMsMedian": 78.1,
     "peakWorkingSetMB": 80.0,
     "throughputMBps": 1301.0,
     "result": {
      "count": 44261
     },
     "consistent": true
    },
    "answerBytesMedian": 871,
    "mcpCallsMedian": 1,
    "sameAnswerAsLevels": true,
    "wallVsEngine": 1.02
   },
   {
    "mode": "warm",
    "scenario": "top-ip-5xx",
    "level": "L4-top-ip-5xx",
    "dataset": "iis-100mb",
    "tktail": {
     "runs": 5,
     "processes": null,
     "wallMsMedian": 138.5,
     "wallMsMin": 133.1,
     "wallMsMax": 148.9,
     "spreadPct": 11.4,
     "cpuMsMedian": 125.0,
     "peakWorkingSetMB": 80.0,
     "throughputMBps": 757.1,
     "result": {
      "count": 23406,
      "top": [
       [
        "203.0.113.12",
        2330
       ],
       [
        "203.0.113.49",
        2065
       ],
       [
        "203.0.113.86",
        1834
       ],
       [
        "203.0.113.123",
        1543
       ],
       [
        "203.0.113.160",
        1323
       ],
       [
        "203.0.113.197",
        1095
       ],
       [
        "203.0.113.234",
        799
       ],
       [
        "198.51.100.17",
        658
       ],
       [
        "198.51.100.54",
        524
       ],
       [
        "198.51.100.91",
        383
       ]
      ]
     },
     "consistent": true
    },
    "answerBytesMedian": 4441,
    "mcpCallsMedian": 1,
    "sameAnswerAsLevels": true,
    "wallVsEngine": 1.28
   }
  ]
 }
}
