PostHog Performance Tuning Overview Optimize PostHog for production workloads. The biggest performance wins are: local feature flag evaluation (eliminates network calls), proper batching configuration, event sampling for high-volume apps, and efficient HogQL queries with date filters. Prerequisites - and/or installed - Personal API key ( ) for local flag evaluation - Feature flags configured (if applicable) Instructions Step 1: Enable Local Feature Flag Evaluation The single biggest performance improvement. Without local evaluation, every call makes a network request ( 50-200ms). With local e…