Skip to content

Implement Response.history#27

Merged
cnpryer merged 1 commit intomainfrom
chris/history
Mar 10, 2026
Merged

Implement Response.history#27
cnpryer merged 1 commit intomainfrom
chris/history

Conversation

@cnpryer
Copy link
Owner

@cnpryer cnpryer commented Mar 10, 2026

No description provided.

@cnpryer cnpryer merged commit 3a45bbf into main Mar 10, 2026
6 checks passed
@cnpryer cnpryer deleted the chris/history branch March 10, 2026 03:14
@github-actions
Copy link

Benchmark Results

Commit: cc32301


get  (n=5000)
  package      mean   median    stdev      min      max  (ms)    ratio
  --------------------------------------------------------------------
  httprs      0.278    0.271    0.027    0.240    1.002
  httpx       0.773    0.729    0.156    0.639   10.160    2.78x slower
  requests    0.854    0.825    0.066    0.751    1.471    3.08x slower

post_bytes  (n=5000)
  package      mean   median    stdev      min      max  (ms)    ratio
  --------------------------------------------------------------------
  httprs      0.404    0.410    0.032    0.326    0.642
  httpx       0.845    0.809    0.094    0.713    1.234    2.09x slower
  requests    1.010    0.962    0.104    0.866    1.315    2.50x slower

post_json  (n=5000)
  package      mean   median    stdev      min      max  (ms)    ratio
  --------------------------------------------------------------------
  httprs      0.769    0.766    0.039    0.695    1.168
  httpx       1.232    1.242    0.106    1.036    1.655    1.60x slower
  requests    1.195    1.168    0.089    1.057    4.202    1.55x slower

post_form  (n=5000)
  package      mean   median    stdev      min      max  (ms)    ratio
  --------------------------------------------------------------------
  httprs      0.330    0.328    0.016    0.302    0.433
  httpx       0.956    0.917    0.082    0.816    1.343    2.89x slower
  requests    1.076    1.043    0.076    0.934    2.050    3.26x slower

@github-actions
Copy link

Ecosystem Tests

Commit: cc32301

repo baseline package baseline passed compat passed accepted regressions remaining real regressions total score
openai/openai-python httpx 559 462 96 (17.2%) 1 (0.2%) 558/559 (99.8%)
anthropics/anthropic-sdk-python httpx 583 484 89 (15.3%) 10 (1.7%) 573/583 (98.3%)
python-telegram-bot/python-telegram-bot httpx 94 94 0 (0.0%) 0 (0.0%) 94/94 (100.0%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant