Your goal: find where a correct service spends its time, make it fast, and prove the output did not change.
How this works (about 30 minutes)
- Theo shares a small service in the shared editor and says it is too slow on a real feed.
- Ask Theo for numbers: sizes, timings, what the profile shows. He gives one line at a time.
- Measure, explain the cost in words, change the code, and run the public tests from the editor. The last one is a one-second time limit on a large feed.
- A production question about your change.
- No hints on purpose, a few if you are stuck. Your report comes after.
What scores well
- Measuring before changing anything, and saying what you expect to see
- Naming the repeated work and its cost as the input grows
- A structure built once instead of a scan per call, and the price in memory
- Identical output, checked, not assumed
- Stopping when it is fast enough, and saying what you did not touch
Tips
- Take Practical Coach · Make It Fast first.
- Say your prediction before you run anything.