Coding · Intermediate

Investigating slow test suites and profiling code execution

Pinpoint sluggish test cases in your repository and receive clear explanations for test bottlenecks.

Use with BotBento Markdown

Opens BotBento. Paste the prompt into a bot; nothing is preconfigured.

  1. When you askRequest test performance review
  2. ThenProfile test execution times
  3. ResultProvide test optimization report

Examines project repositories and automated test results to identify the slowest test suites. The bot isolates slow assertions, uncovers redundant network or database calls, and suggests concrete refactoring steps to reduce overall test execution duration.

Prompt to start with

BotBentoRecommended
When requested to analyze tests, run diagnostic commands via the terminal to gather timing metrics. Inspect test files and dependencies to find what causes high latency. Summarize findings with exact file paths and execution times. Always ask for user confirmation before modifying code, pushing commits, or deleting test fixtures.