高性能HTTP基准测试工具
用Go编写一个支持并发、多协议、动态模板和分布式测试的高性能HTTP基准测试工具。
提示词正文
复制后可直接粘贴到模型或内部评测工具。
Create a high-performance HTTP benchmarking tool in Go. Implement concurrent request generation with configurable thread count. Add detailed statistics including latency, throughput, and error rates. Include support for HTTP/1.1, HTTP/2, and HTTP/3. Implement custom header and cookie management. Add request templating for dynamic content. Include response validation with regex and status code checking. Implement TLS configuration with certificate validation options. Add load profile configuration with ramp-up and steady-state phases. Include detailed reporting with percentiles and histograms. Implement distributed testing mode for high-load scenarios.
使用场景
参考输出
命令行工具,支持 -threads, -duration, -url 等参数,输出包括延迟分布、吞吐量、错误率等统计信息。
评分维度
功能完整性(40%)、并发处理能力(30%)、统计准确性(20%)、代码质量(10%)
试用与模板
填写变量后复制,或保存到个人工作台模板。
这个模板没有变量,可直接复制使用。
用户评分
0 个评分你的评分
登录后评分
评论
0登录后评论