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.
用 Go 创建一个高性能的 HTTP 基准测试工具。实现并发的请求生成功能,线程数可配置。添加详细的统计信息,包括延迟、吞吐量和错误率。支持 HTTP/1.1、HTTP/2 和 HTTP/3。实现自定义请求头和 Cookie 管理。添加请求模板化功能以支持动态内容。包含基于正则表达式和状态码检查的响应验证。实现带有证书验证选项的 TLS 配置。添加包含渐进加压阶段和稳定运行阶段的负载配置。包含带有百分位数和直方图的详细报告。实现用于高负载场景的分布式测试模式。