Skip to content

Implement client default_encoding#26

Merged
cnpryer merged 1 commit intomainfrom
chris/default-encoding
Mar 10, 2026
Merged

Implement client default_encoding#26
cnpryer merged 1 commit intomainfrom
chris/default-encoding

Conversation

@cnpryer
Copy link
Owner

@cnpryer cnpryer commented Mar 10, 2026

No description provided.

@cnpryer cnpryer merged commit 16cc5c1 into main Mar 10, 2026
6 checks passed
@cnpryer cnpryer deleted the chris/default-encoding branch March 10, 2026 03:08
@github-actions
Copy link

Benchmark Results

Commit: 077e960


get  (n=5000)
  package      mean   median    stdev      min      max  (ms)    ratio
  --------------------------------------------------------------------
  httprs      0.277    0.272    0.029    0.237    0.585
  httpx       0.788    0.821    0.131    0.659    8.263    2.84x slower
  requests    0.849    0.829    0.057    0.758    1.159    3.06x slower

post_bytes  (n=5000)
  package      mean   median    stdev      min      max  (ms)    ratio
  --------------------------------------------------------------------
  httprs      0.401    0.410    0.036    0.324    0.580
  httpx       0.892    0.889    0.086    0.732    1.268    2.22x slower
  requests    1.006    0.955    0.094    0.878    2.032    2.51x slower

post_json  (n=5000)
  package      mean   median    stdev      min      max  (ms)    ratio
  --------------------------------------------------------------------
  httprs      0.807    0.800    0.045    0.744    1.223
  httpx       1.212    1.245    0.091    1.038    1.708    1.50x slower
  requests    1.255    1.191    0.107    1.119    1.686    1.56x slower

post_form  (n=5000)
  package      mean   median    stdev      min      max  (ms)    ratio
  --------------------------------------------------------------------
  httprs      0.335    0.331    0.021    0.299    0.718
  httpx       1.022    1.045    0.084    0.868    1.388    3.05x slower
  requests    1.109    1.082    0.078    0.972    3.679    3.31x slower

@github-actions
Copy link

Ecosystem Tests

Commit: 077e960

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