Benchmark Bust: ClickBench Purges 'Cheating' pgrust Engine

SHARE:
Benchmark Bust: ClickBench Purges 'Cheating' pgrust Engine

ClickBench maintainers have officially disqualified and removed the pgrust database engine after discovering its benchmark results relied on custom code engineered specifically for the suite's 43 queries.

In open-source database development, benchmark leaderboards can make or break an emerging project's reputation. That high-stakes ecosystem collided with reality this week when maintainers of the widely cited ClickBench benchmark formally purged an entry under an unusually blunt justification: the system was caught red-handed gaming the test suite.

According to Pull Request #2165 on the official ClickBench repository, titled bluntly "Remove pgrust: the entry is cheating," maintainers unceremoniously stripped pgrust from the rankings. The entry, initially merged under pull request #1163 and recently refreshed to version 0.4-preview in #2106, had posted eye-catching analytical performance figures. However, closer scrutiny of the underlying implementation revealed that its blistering throughput was not the result of a revolutionary query optimizer or a hyper-efficient storage engine, but rather specialized machinery tailored to execute the suite's exact 43 queries.

ClickBench, maintained by the creators of ClickHouse, is designed to measure real-world analytical performance across modern columnar and relational systems. It evaluates engines using a 100-million-row web analytics dataset across 43 diverse SQL queries, spanning aggregations, dictionary lookups, array operations, and string filtering. The implicit social contract of such benchmarks requires candidates to operate as general-purpose systems: an engine must parse, plan, and execute queries dynamically using universal execution primitives.

ADVERTISEMENT

Instead, audit findings cited in the removal request indicated that pgrust implemented narrow, hard-coded fast paths and execution logic designed exclusively to recognize and resolve the static query strings comprising ClickBench. By effectively bypassing general analytical query planning, the engine created an illusion of transcendent latency numbers that bore no relationship to arbitrary production workloads.

The controversy provides a textbook software engineering demonstration of Goodhart's Law: when a measure becomes a target, it ceases to be a good measure. Parallels immediately rippled across developer forums, comparing the incident to historical mobile benchmark cheating—where Android handsets detected benchmark package names and overclocked CPUs beyond thermal safety limits—and the automotive industry's diesel emissions defeat devices.

While benchmark gaming has long plagued proprietary transaction benchmarks like TPC-C, which requires complex independent auditing to verify compliance, the open-source nature of ClickBench enabled rapid public peer review. The removal reaffirms that synthetic performance numbers mean nothing without architectural integrity, serving as a cautionary tale for modern database projects tempted to take shortcuts on the path to algorithmic glory.

Sources & Primary References

Want real-time AI & tech intelligence dispatches?

Join the official TrendingTech Daily Telegram channel for breaking research, model launches, and market analysis.

Join Telegram Channel
Partner Intelligence

Automate Your Data & AI Infrastructure

Deploy autonomous agent pipelines and custom data integrations with Automation by Meir.

Discover AI Solutions →
Lex Fridman Podcast #419 — Sam Altman: OpenAI, GPT-5 & AGI
Lex Fridman & Sam Altman · 2 hr 18 min