Find what slows your websites down with parallel agents
A developer pulled out which pages used the most server time over the last day, then set four Grok agents to work, one per site. Each agent first took a baseline and tested three possible explanations. In 20 minutes they found and fixed, among other things, a database query that went from 550.7 to 0.45 milliseconds and a page that went from 228 to 11. He has shared the setup as open source.
Done with GrokModerate
What was done
A developer pulled out which pages used the most server time over the last day, then set four Grok agents to work, one per site. Each agent first took a baseline and tested three possible explanations. In 20 minutes they found and fixed, among other things, a database query that went from 550.7 to 0.45 milliseconds and a page that went from 228 to 11. He has shared the setup as open source.
How to do it
- Paste the prompt into the tool, and replace the text in brackets with your own.
- Read the answer through. Do not send, delete or publish anything until you have seen it yourself.
- Check the original before you trust a figure, a name or a date.
Try it with Grok
Here is a list of the slowest pages on [site] from the last day of logs. First measure how long each page takes today, and save the measurement. Find three possible causes for each, and test them one at a time. Keep only changes that give the same result as before and are measurably faster. Show me before and after numbers before anything ships. You are done when I have approved the changes.
Replace text in brackets with your own.
@illyism on X ·