Back to blog

How to post about a performance improvement on X (benchmarks people trust)

By Naod Tadele · · 6 min read

Loudcode guideMake it fast,then post it

You spent a week making something faster. The page loads quicker, the query stopped timing out, the build finishes before your coffee does. It's real work, and it's some of the most satisfying work you do.

Then you post "made it way faster today" and it gets nothing. Not because people don't care about speed. Because "way faster" tells them nothing they can picture or trust.

Performance posts work well on X when they show a clear before and after, explain what changed, and stay honest about the conditions. Here's how to write one.

Why performance posts are worth writing

  • They are concrete. A number that went down is easier to follow than a vague feature description.
  • They show craft. Other developers respect someone who measured, dug in and fixed the cause.
  • They help users. If your customers felt the slowness, a speedup post tells them it's fixed.
  • They come with a story. Something was slow, you found out why, you fixed it. That's a complete post.

Measure before you post

The post is only as good as the measurement behind it. Before you write a word:

  1. Measure the same thing twice. Same endpoint, same page, same data size, before and after. Changing two things at once makes the number meaningless.
  2. Prefer percentiles to averages. A median and a slow tail (like p95) tell a truer story than one average that hides the bad requests.
  3. Note the conditions. Production or local? Cold or warm cache? Which machine? You'll want one line of this in the post.
  4. Keep the raw output. A screenshot of your profiler, dashboard or terminal is better proof than any sentence.

The structure that works

A good performance post has four parts. Short posts can merge some of them.

  1. What was slow, in user terms. "The incident timeline took ages to load" beats "optimized a query".
  2. The before and after. Two numbers, same unit, same conditions.
  3. What you changed. One or two sentences. The cause is the interesting part.
  4. The proof. A screenshot of the chart, trace or terminal output.

Example posts

These are for Nightshift, a fictional tool that writes incident summaries for on-call engineers. All numbers are made up for the example.

The simple before and after:

Example post
The incident timeline in Nightshift used to take 2.4s to load on big incidents. Now it's 380ms. The fix: we were fetching every Slack message, then filtering. Now we filter in the query.

The detective story:

Example post
Spent two days on why Nightshift summaries got slow on Mondays. Not the model. Not the database. Weekend alerts piled up, and we re-read all of them for every summary. Cached the alert history per incident. Monday p95 went from 9s to 1.8s.

The honest tradeoff:

Example post
Made Nightshift's search 3x faster by adding an index. The cost: writes got a little slower and the database grew. Worth it for us, since people search far more than they write. Not every speedup is free. Here's the trace:

The user-facing version:

Example post
If Nightshift felt sluggish during big incidents last week, that's fixed. Summaries now show up in a couple of seconds instead of making you wait.

Notice that the last one has no benchmark at all. Your customers want to know it feels better. Save the percentiles for the posts aimed at other developers.

Mistakes that make people distrust your numbers

  • Percentages without a baseline. "90% faster" means little if you don't say faster than what.
  • Cherry-picked runs. Posting your best run against your worst run is easy to spot and hard to recover from.
  • Comparing against a competitor you didn't test fairly. Unless you ran their setup the way they recommend, keep the comparison to your own before and after.
  • Hiding the cost. If you traded memory, write speed or complexity for the gain, say it. Developers will ask anyway.
  • Hype words instead of numbers. "Blazing fast" is a claim. "2.4s to 380ms" is evidence.
  • Skipping the why. The number gets a glance. The cause gets replies, because other developers have hit the same problem.

When the speedup is small

Not every improvement is dramatic, and that's fine. A small, well-explained gain can still be a good post if the lesson is useful. Lead with what you learned, not the number:

Example post
Shaved a little off Nightshift's cold start today. Small win, but the lesson was big: we were loading the whole config file to read one value.

How Loudcode helps

Performance work usually lands as a pull request with a clear title and a description full of before and after details. Loudcode reads your GitHub commits, pull requests and releases, so a speedup like that turns into a draft post in your voice without you rewriting the PR. It can attach a screenshot of your live app to visual posts, and after you publish it shows how the post did on X at one hour, one day and one week. Every draft waits for your approval. For more on going from merged code to a post, see how to turn a pull request into a post on X.

You ship the code. We write the posts.

Your commits, revenue, traffic and a 30-second weekly check-in become build-in-public posts for X, in your voice. You approve every post.

Keep reading

All posts