The number I published without checking

I asked ChatGPT for an example of a C++ optimization. The answer named a company, a system, and a precise speedup. I repeated the claim in a post. When I tried to link to the original measurement, I couldn’t find it.

Where the 3.5× came from

I was preparing material on performance when the model claimed that Twitter had sped up its search engine by 3.5× around 2011 by rewriting critical components in C++. I asked it to check. It came back with more detail about the supposed rewrite. I took the second answer as confirmation and published the example.

A few days later I tried to reconstruct the comparison. Which component had changed? What had the team used as a baseline? What had they measured? I looked for an account by the engineers and tried other research tools. I couldn’t substantiate the connection between the rewrite and the figure, so I took the post down.

What Twitter’s engineers documented

In 2012 the authors of Earlybird described the engine behind Twitter’s real-time search. They had written it in Java. Their paper explains how one writer updated an index while multiple readers kept serving queries. There is a concurrency decision there that a reader can examine. The claimed 3.5× improvement I had attributed to C++ still lacks a source. Read the Earlybird paper (PDF).

What I check before quoting a number

When I review generated code, I can compile it, supply an input, and see what happens. An engineering story needs its own version of that test. Who took the measurements? What did they compare? How did they define the outcome? Cutting the latency of a query and increasing the number of queries served per second describe different results, even if the multiplier is the same.

I still use AI to suggest search terms, locate documents, and identify questions worth pursuing. Before quoting a number I go back to the text, table, or figure from the team that measured it. If all I can find are repetitions of the claim, I leave the figure out.