From 9636a9f4a9669dab85ac83c13b1ac3628d0292de Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 27 Jan 2026 00:52:36 +0000 Subject: [PATCH 1/2] Fix requestx elapsed time - returns float directly, not timedelta requestx 1.0.3 returns elapsed as float (seconds) directly, unlike httpx which returns a timedelta object. https://claude.ai/code/session_018m5XH5sVYS25zAr6258ygf --- http_benchmark/clients/requestx_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_benchmark/clients/requestx_adapter.py b/http_benchmark/clients/requestx_adapter.py index 50b82df..7e5b18d 100644 --- a/http_benchmark/clients/requestx_adapter.py +++ b/http_benchmark/clients/requestx_adapter.py @@ -54,7 +54,7 @@ def make_request(self, request: HTTPRequest) -> Dict[str, Any]: "status_code": response.status_code, "headers": dict(response.headers), "content": response.text, - "response_time": response.elapsed.total_seconds(), + "response_time": response.elapsed, "url": str(response.url), "success": True, "error": None, From 53427c4ba0e81ef46fc9471c472250946d43da8d Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 27 Jan 2026 00:53:18 +0000 Subject: [PATCH 2/2] Bump version to 5.1.2 - Fixed requestx elapsed time (returns float directly, not timedelta) https://claude.ai/code/session_018m5XH5sVYS25zAr6258ygf --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 02d9a3d..38dd066 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "http-client-benchmarker" -version = "5.1.1" +version = "5.1.2" description = "A Python HTTP Client Performance Benchmark Framework" readme = "README.md" authors = [{name = "Qunfei Wu", email = "wu.qunfei@gmail.com"}]