TKTail 1.0.0 - Benchmark Kit
===============================

Repeat the published TKTail 1.0.0 measurements on your own PC: the same deterministic workloads, the same harnesses,
and the published baseline to compare with. The reproduction guide is the Benchmarking page of the TKTail Help on the
TKTail website (/help/benchmarking/).

What is in the kit
  tools\TKTailLogGen.com         TKTail Log Generator 0.1.0 (command line); TKTailLogGen.exe is its window
  tools\tktail_perflab.exe       Performance Lab: LIVE workloads against TKTail, with a verdict per run
  scenarios\                     the versioned workloads (workload version 1; a fixed seed in every file)
  baseline\                      the published results of TKTail 1.0.0 and the machine they were measured on
  release-benchmark\             the release benchmark (Python 3, 64-bit) and compare.py
  kit.json, SHA256SUMS.txt       what this kit is, and the SHA-256 of every file

TKTail itself is not in the kit: extract TKTail-1.0.0.zip beside it (Extract All gives each zip its own folder), e.g.
  C:\Bench\TKTail-1.0.0\TKTail.exe
  C:\Bench\TKTail-1.0.0-benchmark-kit\README.txt
Keep both in a folder you can write to (not Program Files) and run the commands below from the kit's folder: the
Performance Lab writes perflab\ beside itself, the release benchmark work\ beside the kit's files.

1. Generate - the same workload
  tools\TKTailLogGen.com run live-applog-1000 -o live.log --duration 10
  tools\TKTailLogGen.com generate -o big.log --format applog --size 1GB --rate max --timestamps synthetic --seed 7
Every record comes from the scenario's seed; with --timestamps synthetic the file is the same byte for byte on every
PC. The second line writes the 1 GB application log of the published open and search figures. The generator writes
into an existing folder only, never replaces a file without --overwrite, and never starts a run that would leave less
than 2 GB free (--dry-run shows the plan). The Performance Lab and the release benchmark generate their own data the
same way - this step is for looking at it, or for your own tests.

2. Measure - Performance Lab (LIVE following)
  tools\tktail_perflab.exe suite normal --repeat 2 --tktail ..\TKTail-1.0.0\TKTail.exe
About 15 minutes. Each run starts a private copy of TKTail (its own portable sandbox; your settings are not touched),
writes the workload while TKTail follows it, and judges the run: SUSTAINABLE means TKTail kept up, nothing was lost and
the window stayed responsive. Leave the PC alone while it runs. Results: tools\perflab\results\.

3. Compare
  tools\tktail_perflab.exe table baseline\performance-lab\results
  tools\tktail_perflab.exe table tools\perflab\results
  tools\tktail_perflab.exe compare baseline\performance-lab\results\<baseline run>.json tools\perflab\results\<your run>.json
(table: one row per run - the published runs, then yours; compare: two runs of the same scenario side by side.)

The release benchmark (open, search, startup, idle, LIVE CPU) - Python 3, 64-bit
  py release-benchmark\tktail_release_bench.py --exe tktail=..\TKTail-1.0.0\TKTail.exe --rounds 5 --only huge,v1,live --out release.json
  py release-benchmark\compare.py release.json baseline\release-benchmark\results\final-v1-confirm.json
  py release-benchmark\compare.py release.json baseline\release-benchmark\results\final-v1.json
It writes about 1.2 GB of data to the kit's work\ folder (--work names another) and drives a private copy of TKTail
through its command line, window messages and MCP. Leave the PC alone while it runs.
The startup, idle, metrics and combined workloads need more setup (a Pro license for Performance counters); the
reproduction guide explains them.

Reading the numbers
  The baseline names its machine, build, rounds, cache state and load (baseline\<id>\environment.json). Another CPU,
  disk, power plan, antivirus or a busy desktop changes the times; a ratio far from 1 on every measure usually means
  the machine, not TKTail. Results are compared within one workload version only.

Integrity
  Get-FileHash tools\TKTailLogGen.com -Algorithm SHA256   (PowerShell) - compare with SHA256SUMS.txt
