Performance
Performance — TKTail 1.0.0
Historical benchmark — TKTail 1.0.0 Measured on TKTail 1.0.0 (commit 086415f943, Release - Shipping PGO ee565ddef5cc) on 2026-10-14. The current release is TKTail 1.2.1; the release candidate in testing is TKTail 1.3.0-rc.6.
TKTail reads only what it shows and builds its line index in the background, so a gigabyte log is readable at once and memory follows the window, not the file. These are the measurements of the released build - and what they do not cover.
Published result
0.45s2.24 GB/s
Text search through 1 GB, match case
TKTail 1.0.0 · Shipping PGO · Intel Core i9-14900F, 24 cores / 32 threads · warm cache · 2026-10-14 / 15
Five kinds of benchmark - five different questions
A bar where a purpose-built C# program wins answers "how fast does this code run once it exists?" - not "how much work does it take to solve the incident?". Each family below answers its own question; read the one you are asking. One machine, measured files, sources to download.
Core performance
How does TKTail itself behave on huge and live files?
Historical benchmark — TKTail 1.0.0
Opening huge files, search, LIVE monitoring and memory - TKTail 1.0.0, every figure from its result files.
Raw execution: prepared implementations
Once equivalent code exists, how quickly does it run?
Historical benchmark — TKTail 1.1.0
The same questions answered by TKTail and by prepared PowerShell 7, Windows PowerShell 5.1, Python and C# programs on the same logs - correctness first, cold and warm, CPU and memory; losses included and explained.
Engine levels: the same work
When every implementation does exactly the same work, how long does each take?
Historical benchmark — TKTail 1.3.0-rc.1
L0 raw I/O, L1 record framing, L2 literal search, L3 structured search, L4 aggregation: the same work in TKTail engine, C# (.NET, framework-dependent), Python (CPython), PowerShell 7, Windows PowerShell 5.1 and C++ minimal reference, every answer checked equal - the product workflow apart. Measured on TKTail 1.3.0-rc.1, a release candidate.
v2: the same work, level by levelBenchmark source codeRaw results
Repeated investigation
Five questions about one incident in a row - what does each approach pay again?
Historical benchmark — TKTail 1.1.0
TKTail answers from one open session; a script starts again for every question. Measured in the same suite.
AI data efficiency
How much has to reach the AI model to answer the question?
Historical benchmark — TKTail 1.1.0
3.55 MB in 1,380 MCP calls when the assistant reads every record, 4.4 KB in 1 when TKTail aggregates. Bytes and calls - not tokens.
End-to-end AI investigation
Starting from a user's question, how much work does an AI agent need to reach a correct, evidenced answer?
Current benchmark — TKTail 1.2.1
A real agent with TKTail against the same agent writing PowerShell, Python or C# - tool calls, scripts written, time, data sent, correctness - prepared and from zero.
Production capability
What does a safe, repeatable investigation need besides a fast loop?
Formats, aggregation, Metrics, the Event Log, alerts, evidence with provenance, redaction, access control - built into TKTail, or built by your team around a script.
The investigation workflow Capability matrix The comparison Access control
Why it stays fast
Memory bounded by the view
A file is never read into memory whole. What you see is read when you look at it; the line index is compact and built in the background - the memory figures below show what a 1 GB log adds.
Huge filesNever waiting for the disk or the network
Indexing, searching and following run in the background, in cancellable slices. A network share that goes away shows as offline, and TKTail checks again with a growing interval instead of blocking the window.
Network sharesScreen cadence, not line cadence
LIVE ingests every byte but draws the newest state at most 60 times a second - never one repaint per appended line.
LIVE and PAUSEDWhere and how it was measured
- Release
- TKTail 1.0.0 · Shipping PGO · PGO profile ee565ddef5cc
- Commit
- 086415f943
- TKTail.exe
- F08EE675F680B4E86C51314D9ED0FC9DB8A574786674157947D99B5E0DB668BE
- Package
- TKTail-1.0.0.zip · FB85EE999B20C63B633816B47F494E09E039BAD0443841069AEA7420561BA91E
- CPU
- Intel Core i9-14900F, 24 cores / 32 threads
- Memory
- 192 GB
- Storage
- Samsung SSD 980 PRO 1 TB, NVMe
- Windows
- Windows 11 Pro 10.0.26300, Balanced power plan
- Date
- 2026-10-14 / 15
- Data
- Generated by TKTail Log Generator (seed 7): a 1,000,000,000-byte application log of 4,000,000 lines, and five 40,000,000-byte logs - multi-line application log, JSON Lines, IIS W3C, plain text, syslog (RFC 5424)
- Method
- tools/shipping_bench.py - TKTail in its own portable sandbox, driven by the command line, window messages and MCP; wall-clock times measured from outside the program, medians over rounds
- Rounds
- 5 rounds for the 1 GB file and LIVE (final-v1-confirm.json), 3 for the rest (final-v1.json)
- Cache
- Warm - the files had been read before. No cold-cache measurement exists yet.
- Conditions
- A shared development desktop, under unusual load during this run (program starts were about 2.5 times slower than on a quieter evening): the times are conservative.
Opening and huge files
| Measurement | Result | Workload |
|---|---|---|
| 1 GB log, launch to fully line-indexed | 0.87 s | TKTail started with the 1 GB application log (4,000,000 lines) until its last line can be readfinal-v1-confirm.json · huge.lineIndexCompleteS |
| 1 GB log, launch to window visible | 329 ms | TKTail started with the 1 GB log on the command line; the window shows while the line index is builtfinal-v1-confirm.json · huge.windowVisibleMs |
| Program start, empty window ready | 538 ms | A clean start without files, measured inside the program from its first instructionUnder the load of this run; about 2.5 times the time measured on a quieter evening.final-v1.json · startup.clean.windowReadyMs |
| Six logs on the command line, first view painted | 659 ms | Five 40 MB logs and the 1 GB log in one startfinal-v1.json · startup.6files.firstPaintMs |
| Read the record at a byte offset of the 1 GB log | 0.85 ms | 20 jumps through MCP, medianfinal-v1-confirm.json · huge.recordAtOffsetMs |
| Go To an offset 900 MB into the file | 33 ms | A second command-line call to the running TKTailfinal-v1-confirm.json · huge.gotoOffsetForwardMs |
Search
| Measurement | Result | Workload |
|---|---|---|
| Text search through 1 GB, match case | 0.45 s2.24 GB/s | "ERROR" in the 1 GB application log - 80,424 matchesfinal-v1-confirm.json · search.literal.s |
| Text search through 1 GB, ignoring case | 0.59 s1.70 GB/s | "error" in the 1 GB log - 80,424 matchesfinal-v1-confirm.json · search.caseInsensitive.s |
| Regular expression through 1 GB | 1.97 s0.51 GB/s | Request finished (POST|DELETE) /api/orders/\d+ in 9\d\d\.\d+ ms - 20,028 matchesfinal-v1-confirm.json · search.regex.s |
| Field search through 1 GB, every record parsed | 4.34 s0.23 GB/s | level = ERROR on the parsed records of the 1 GB application log - 80,424 matchesfinal-v1-confirm.json · search.field.s |
| Text search in five different formats at once | 0.14 s | "ERROR", ignoring case, in five 40 MB logs (multi-line, JSON Lines, IIS W3C, plain text, syslog) - 30,593 matchesfinal-v1-confirm.json · search.multiFile.s |
| Three-step Temporal Search | 0.78 s | INFO, then WARN within 2 s, then ERROR within 5 s, in a 40 MB multi-line log - 3,301 sequencesfinal-v1-confirm.json · temporal.3step.s |
| Field search in JSON Lines | 0.59 s | level = ERROR in a 40 MB JSON Lines log - 3,232 matches (3 rounds)final-v1.json · search.jsonlField.s |
| Windows Event Log, load 2,000 events of history | 0.17 s | The newest 2,000 events of the computer's System log (3 rounds)final-v1.json · eventlog.history2000.s |
Following a growing log
| Measurement | Result | Workload |
|---|---|---|
| CPU while following 1,000 lines/s | 20.7 % of one core | 200-byte application log lines appended for 20 s, default viewfinal-v1-confirm.json · live.1000.cpuPct |
| CPU while following 10,000 lines/s | 18.3 % of one core | 200-byte lines (about 2 MB/s) for 20 sfinal-v1-confirm.json · live.10000.cpuPct |
| CPU while following 50,000 lines/s | 30.1 % of one core | 200-byte lines (about 10 MB/s) for 20 sfinal-v1-confirm.json · live.50000.cpuPct |
| Window response at 10,000 lines/s, 99th percentile | 13.6 ms | How long the window took to answer a message while the log was growingfinal-v1-confirm.json · live.10000.pingP99Ms |
Memory and idle footprint
| Measurement | Result | Workload |
|---|---|---|
| Memory, idle with no file open | 54 MiB | Private bytes 10 s after startfinal-v1.json · idle.empty.privateMiB |
| Memory with the 1 GB log open and indexed | 58 MiB | Private bytes once the 1 GB file is fully indexedfinal-v1-confirm.json · huge.privateMiB |
| CPU at idle | 3.2 million cycles/s | An empty window for 30 s after a 10 s settlefinal-v1.json · idle.empty.megacyclesPerSec |
| Threads at idle | 50 threads | An empty window; the count includes threads started by the graphics driverfinal-v1.json · idle.empty.threads |
| TKTail.exe | 6,854,144 bytes | The released x64 executable (static runtime, system DLLs only)final-v1.json · exe.sizeBytes |
Following a growing log - Performance Lab verdicts
The Performance Lab wrote each workload into a file while a private copy of TKTail 1.0.0 followed it, then checked that every record arrived exactly once. SUSTAINABLE: TKTail kept up, nothing was lost, the window stayed responsive.
| Scenario | Verdict | Rate reached | TKTail CPU | UI p95 | Backlog max |
|---|---|---|---|---|---|
applog-500b@500-A | SUSTAINABLESUSTAINABLE | 500 records/s500 records/s | 9.6 % of one core14.9 % of one core | 2.6 ms2.6 ms | 0.05 MB0.05 MB |
applog-500b@1000-A | SUSTAINABLESUSTAINABLE | 999.9 records/s1,000.1 records/s | 20.9 % of one core13.1 % of one core | 1.6 ms2.5 ms | 0.11 MB0.10 MB |
applog-500b@5000-A | SUSTAINABLESUSTAINABLE | 5,000.3 records/s4,999.7 records/s | 12.7 % of one core17.0 % of one core | 1.6 ms2.3 ms | 0.45 MB0.53 MB |
applog-500b@10000-A | SUSTAINABLESUSTAINABLE | 9,999.2 records/s10,000.5 records/s | 15.2 % of one core20.7 % of one core | 2.4 ms2.0 ms | 0.97 MB1.00 MB |
multiline-mix@500-A | SUSTAINABLESUSTAINABLE | 500 records/s (1,282.5 lines/s)500 records/s (1,281.7 lines/s) | 13.9 % of one core15.7 % of one core | 3.3 ms2.4 ms | 0.03 MB0.03 MB |
multiline-mix@1000-A | SUSTAINABLESUSTAINABLE | 1,000.1 records/s (2,550.3 lines/s)1,000.1 records/s (2,550.8 lines/s) | 17.2 % of one core14.3 % of one core | 2.1 ms2.1 ms | 0.06 MB0.05 MB |
plain-100b@10000-A | SUSTAINABLESUSTAINABLE | 9,999.6 records/s10,001.1 records/s | 9.6 % of one core9.4 % of one core | 1.9 ms1.7 ms | 0.18 MB0.20 MB |
bracketed-json@1000-A | SUSTAINABLESUSTAINABLE | 1,000 records/s1,000 records/s | 12.6 % of one core14.6 % of one core | 1.1 ms1.8 ms | 0.06 MB0.07 MB |
jsonl-250b@1000-A | SUSTAINABLESUSTAINABLE | 1,000.1 records/s999.9 records/s | 15.7 % of one core21.8 % of one core | 1.6 ms3.0 ms | 0.05 MB0.06 MB |
alerts-applog@1000-A-alerts | SUSTAINABLESUSTAINABLE | 1,000 records/s999.9 records/s | 12.6 % of one core13.5 % of one core | 1.3 ms1.6 ms | 0.06 MB0.06 MB |
tktail_perflab suite normal --repeat 2 (Performance Lab, lab version 2): a private, sandboxed copy of TKTail follows a log the Lab writes; then every record is verified · Intel Core i9-14900F, 24 cores / 32 threads · 2026-10-16 · A shared development desktop, busy during the runs: 14 to 40 % of the whole machine before a run, 22 to 32 % during the measurement (systemCpuBeforePercent / systemCpuDuringPercent of each result).
Run it yourself
Measured. Reproducible.
Published TKTail results use deterministic workloads and versioned scenarios. Generate the same data, run Performance Lab, and compare your machine with the published baseline.
01Generate
The same records on every PC - a versioned scenario with a fixed seed.
tools\TKTailLogGen.com run live-applog-1000 -o live.log --duration 1002Measure
A private copy of TKTail follows a growing log; every run gets a verdict.
tools\tktail_perflab.exe suite normal --repeat 2 --tktail ..\TKTail-1.0.0\TKTail.exe03Compare
Your runs next to the published baseline, scenario by scenario.
tools\tktail_perflab.exe table baseline\performance-lab\results tools\tktail_perflab.exe table tools\perflab\results
TKTail-1.0.0-benchmark-kit.zip · 1.8 MB · SHA-256 2F9A037EDB2FDA9D8005798ECEB688EAFEFAA77742774C5F6163F98BEBE4854E
The open and search figures above come from the kit's release benchmark (Python 3) - the reproduction guide shows how to run it and how to read the results.
Purpose-built scripts and the TKTail workflow
The same production-log questions answered by the complete TKTail workflow and by purpose-built PowerShell, C# and Python programs on the same synthetic logs - correctness first, cold and warm runs, memory, what an AI assistant receives, with the source of every implementation and the raw results, losses included. The programs do less work per question than TKTail (no record framing, typed fields, retained results or session), so this is not an engine comparison: the comparison(Historical benchmark — TKTail 1.1.0). Speed is one part of an investigation; what it takes from a production symptom to verified evidence, with these programs and with TKTail:the investigation workflow.
The engines doing the same work, level by level - every answer checked equal, TKTail measured as its engine, the product workflow apart: v2: the same work, level by level (TKTail 1.3.0-rc.1, a release candidate).
What these numbers do not say
- One machine, a fast developer desktop - slower disks and CPUs give longer times.
- Warm cache only. Opening a file that is not in the Windows file cache reads it from the disk first; no cold-cache figure is published until it is measured.
- Measured under load (see Conditions); a re-run on a quiet machine is recommended before these become release figures.
- The LIVE figures of the release benchmark measure CPU while following. That no record is lost was checked by the Performance Lab on the released exe at 500 to 10,000 records/s (its verdicts above), not at 50,000 lines/s.
- Files of up to 2 GB were measured. Larger files rely on the same design (memory bounded by what is shown), not on a published measurement.
Sources and raw data
- Release benchmark: environment.json, final-v1.json, final-v1-confirm.json
- Performance Lab: environment.json and 20 result files - each linked from its row above
- Everything in one file: TKTail-1.0.0-benchmark-data.zip (320 KB) - the result files, their environment, the scenarios and the release's benchmark manifest.
- The method in detail and the measurement history:
docs/PERFORMANCE.md. Every figure on this page is compared with its result file by the website's tests.