Menu

My Benchmark Finished in 0.2 Minutes. The Number Was a File Read.
📰

My Benchmark Finished in 0.2 Minutes. The Number Was a File Read.

DEV Community: python·Mikhail·22 days ago
#FoqpTR9W
#devtopython#devto#dev#task#tasks
Long article (3669 words) — no AI summary yet.
Reading 0:00
15s threshold

TL;DR: a benchmark that finishes in 0.2 minutes did not run. Mine reprinted four-day-old numbers from a capture file committed to git, and I published them three times as a design trade-off. With the cache cleared, the same panel reads 19 → 32 → 38 across five code states — and six of those tasks came back from one two-item list slice.

You have shipped this: a test suite that goes green in four seconds, a CI job that always passes, a dashboard that hasn't moved in a week. Nothing is broken, exactly. Nothing ran, either.

Mine was a benchmark. On 14 November it finished in 0.2 minutes and printed the same four numbers it had printed four days earlier — every digit, every arm. I looked at the table, felt pleased that the result was stable , and moved on.

It was reading a file. A 71-row capture of finished tasks, committed to git. The harness resumed from it, skipped all 71 tasks, and reprinted November's answers.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.