Searching the best prompts from our community
Discover the most effective Optimization prompts. High-quality templates curated by experts to help you get professional AI results.
Optimize React Native app performance. Checklist: 1. Analyze bundle size and startup time. 2. Implement FlatList optimizations (windowSize, initialNumToRender). 3. Memoize heavy computations with useMemo/useCallback. 4. Optimize image loading and caching. 5. Remove unnecessary re-renders using React...
Optimize Unity game physics for mobile performance. Techniques: 1. Adjust fixed timestep settings. 2. Use primitive colliders over mesh colliders. 3. Implement object pooling for projectiles. 4. Configure collision matrix to reduce checks. 5. Use raycast layers for efficiency. 6. Bake static physics...
Optimize sleep quality for better health and performance. Protocol: 1. Consistent sleep schedule (same bedtime/wake time). 2. 7-9 hours target. 3. Cool room (65-68°F). 4. Complete darkness (blackout curtains, eye mask). 5. No screens 1 hour before bed (blue light). 6. Limit caffeine after 2pm. 7. No...
Measure which prompt performs better. Features: 1. Two versions of a prompt (Variant A vs B). 2. Key Metrics: Relevancy Score, Accuracy, Response Speed, Token Usage. 3. Statistically significant 'Winner' badge. 4. User feedback collection tool for manual evaluation. 5. Chart comparing costs over 1,0...
Optimize Pandas data processing pipeline. Techniques: 1. Vectorize operations (avoid loops). 2. Use appropriate data types (int8, category). 3. Process large datasets with chunking. 4. Parallelize processing with Dask or Swifter. 5. Efficient file formats (Parquet/Feather). 6. Memory usage profiling...
Design a rigorous A/B test for product optimization. Process: 1. Define hypothesis (changing X will increase Y by Z%). 2. Choose primary and secondary metrics. 3. Calculate required sample size for statistical power. 4. Determine test duration (minimum 1 week, 2 business cycles). 5. Randomize users ...
Optimize Docker images using multi-stage builds. Techniques: 1. Separate build and runtime stages. 2. Use slim base images (alpine, distroless). 3. Leverage layer caching with proper ordering. 4. Copy only necessary artifacts to final stage. 5. Use .dockerignore to exclude files. 6. Run as non-root ...
Optimize application performance systematically. Techniques: 1. Profile first (identify bottlenecks with profiler). 2. Database optimization (indexes, query optimization, connection pooling). 3. Caching (Redis, Memcached, CDN). 4. Lazy loading (load data on demand). 5. Code-level optimization (effic...
Optimize a blog post for search engines and readability. Checklist: 1. Target keyword in H1, first paragraph, and URL slug. 2. Use semantic keywords and LSI terms naturally. 3. Structure with H2/H3 subheadings every 300 words. 4. Add internal links to 3-5 related posts. 5. Include meta description (...
Optimize pricing strategy. Models: 1. Cost-plus (cost + margin). 2. Value-based (customer willingness to pay). 3. Competitive (market rates). 4. Penetration (low to gain share). 5. Premium (high for positioning). 6. Freemium (free + paid tiers). 7. Usage-based. 8. Dynamic pricing. Test with A/B expe...
Profile and optimize performance. Tools: 1. Chrome DevTools (Performance, Lighthouse). 2. React DevTools Profiler. 3. Node.js --prof and clinic.js. 4. Bundle analysis (webpack-bundle-analyzer). 5. Database query analysis (EXPLAIN). 6. APM tools (New Relic, DataDog). Focus on: render performance, bun...
Build a systematic cold email testing program. Setup: 1. Define hypothesis (subject line, CTA, length). 2. Split list into equal segments (minimum 100 contacts each). 3. Send variant A to segment 1, variant B to segment 2. 4. Wait 3-5 days for statistical significance. 5. Measure open rate, reply ra...
A technical guide to boosting email opens. Covers: 1. Subject line psychology. 2. Preheader text strategy. 3. Deliverability checks (SPF, DKIM). 4. Best times to send per timezone. 5. A/B testing variables. Includes 20 'High-Open' subject line templates for various industries (Finance, Creative, Saa...
Designed to take a messy user prompt and 'optimize' it for GPT-4o. The optimizer should add: 1. Specific Persona (Expert Scientist, Creative Writer). 2. Constraints (No jargon, under 200 words). 3. Step-by-step reasoning instructions. 4. Expected output format (JSON, Markdown). 5. Few-shot examples ...
I have a slow-running SQL query. Here is the query: [paste query here]. And here is the table schema: [paste schema here]. Analyze the query and suggest ways to optimize it. Consider adding indexes, rewriting the query, or denormalizing the data.
Calculate and optimize pipeline velocity. Formula: (Number of Opportunities × Average Deal Size × Win Rate) ÷ Sales Cycle Length = Pipeline Velocity. Example: (50 opps × $10k × 25% win rate) ÷ 90 days = $1,389/day. How to improve: 1. Increase opportunities (better lead gen). 2. Increase deal size (u...
Optimize subscription business. Levers: 1. Pricing tiers and packaging. 2. Free trial vs freemium. 3. Seamless signup and payment. 4. Onboarding for activation. 5. Feature gating and upsells. 6. Dunning for failed payments. 7. Pause option instead of cancel. 8. Annual prepay incentives. Focus on LTV...
Optimize database performance with indexes. Strategies: 1. Index foreign keys. 2. Composite indexes for multi-column queries. 3. Covering indexes to avoid table lookups. 4. Partial indexes for filtered queries. 5. Monitor query plans (EXPLAIN). 6. Avoid over-indexing (write performance). 7. Index se...
Detect and prevent memory leaks. Techniques: 1. Use browser DevTools memory profiler. 2. Heap snapshots comparison. 3. Clear event listeners on cleanup. 4. Unsubscribe from observables. 5. Clear timers and intervals. 6. Weak references for caches. 7. Avoid global variables accumulation. 8. Monitor p...
Design balanced sales territories for maximum coverage. Methodology: 1. Analyze market potential by geography/industry/company size. 2. Assess current account distribution and revenue. 3. Define territory boundaries (geographic, vertical, account-based). 4. Balance workload and opportunity across re...
Design balanced sales territories for maximum coverage. Data inputs: accounts by geography, revenue potential, current customer concentration, sales rep capacity. Criteria for balance: 1. Equal revenue opportunity ($2-3M per rep). 2. Manageable account count (50-75 active accounts). 3. Geographic pr...
Optimize a slow-running SQL query on a 50M+ row table. Techniques to apply: 1. Add appropriate indexes on WHERE and JOIN columns. 2. Replace subqueries with CTEs (Common Table Expressions). 3. Use EXPLAIN ANALYZE to identify bottlenecks. 4. Partition large tables by date for faster scans. 5. Rewrite...