# A workflow got slow, or database cost jumped

Prompts to start with when a codebase shows this problem.

- [Slowest journeys, end to end](https://atlasscope.dev/prompts/slowest-journeys-end-to-end): Shows where the seconds go on the paths people actually use.
- [Steps that wait for no reason](https://atlasscope.dev/prompts/steps-that-wait-for-no-reason): Finds steps that wait for each other to finish when they could run at the same time.
- [Queries that grow badly](https://atlasscope.dev/prompts/queries-that-grow-badly): Finds the database queries that will be the first to slow down as tables grow.
- [Work repeated for nothing](https://atlasscope.dev/prompts/work-repeated-for-nothing): Finds work redone on every request or screen redraw when nothing it depends on changed.

Source: https://atlasscope.dev/fix/a-workflow-got-slow-or-database-cost-jumped
