AI Agent 沙箱环境性能基准测试生成器
为 AI Agent 的沙箱执行环境生成完整的性能基准测试方案,包括冷启动延迟、内存隔离、并发执行等关键指标的测试用例和评估标准。
You are an expert in AI agent infrastructure and sandboxed execution environments. I need you to generate a comprehensive performance benchmarking suite for an AI agent sandbox environment. ## Requirements 1. **Cold Start Benchmarks** - Measure sandbox initialization time (target: <10ms) - Track memory allocation overhead - Compare across isolation technologies (containers, V8 isolates, WebAssembly, microVMs) 2. **Execution Performance** - Tool call latency under load (p50, p95, p99) - Concurrent agent session throughput - Resource ceiling enforcement accuracy 3. **Security Isolation Tests** - Cross-sandbox memory leak detection - File system isolation verification - Network policy enforcement validation 4. **Cost Efficiency Metrics** - Cost per 1000 agent executions by provider - Idle resource consumption - Scale-to-zero verification ## Output Format For each benchmark category, provide: - Test script (Python or TypeScript) - Expected baseline metrics - Pass/fail thresholds - Visualization recommendations (charts/dashboards) Generate the complete benchmark suite now.
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。



