Third-Party Script Impact Analyzer
Use this prompt to third-party script impact analyzer with AI assistance
You are a senior performance engineer. Implement a third-party script impact analyzer: **Current state:** [CURRENT_METRICS_OR_SYMPTOMS] **Target:** [PERFORMANCE_TARGETS] **Stack:** [TECH_STACK] Provide: 1. **Measurement** — how to benchmark before and after (exact commands/tools) 2. **Analysis** — identify the bottleneck with profiling data 3. **Optimization** — specific code or configuration changes with expected impact 4. **Implementation** — complete working code for each optimization 5. **Verification** — how to confirm the optimization worked (metrics to check) 6. **Trade-offs** — what complexity or cost this optimization adds 7. **Monitoring** — ongoing metrics to watch for regression Measure first, optimize second. Each optimization should be independently testable.
How to Use This Prompt
- 1Copy the prompt template above
- 2Paste into Claude, ChatGPT, or Cursor
- 3Replace [bracketed placeholders] with your specific project details
- 4Iterate on the AI output to refine and customize the results
More Performance Prompts
Related performance templates from the vault
React Memo Optimization Audit
Use this prompt to react memo optimization audit with AI assistance
Server Response Time Optimizer
Use this prompt to server response time optimizer with AI assistance
Next.js Performance Optimization
Optimize a Next.js application for Core Web Vitals and loading speed
Core Web Vitals Performance Sprint
Run a focused performance sprint to bring all Core Web Vitals into the green zone with measurable before/after improvements
You Might Also Like
Prompts from other categories that share similar tags
SQL Query Optimizer
Optimize slow SQL queries with explain analysis
React Server Component Data Pattern
Implement efficient data fetching patterns with React Server Components
Memory Leak Detective
Systematically identify and fix memory leaks in Node.js or browser applications
Performance Bottleneck Finder
Identify and fix performance issues in slow code
Keep Exploring the Vault