Skip to content

[python] Add TurboAPI framework#547

Draft
remittor wants to merge 2 commits intoMDA2AV:mainfrom
remittor-pr:turboapi
Draft

[python] Add TurboAPI framework#547
remittor wants to merge 2 commits intoMDA2AV:mainfrom
remittor-pr:turboapi

Conversation

@remittor
Copy link
Copy Markdown
Contributor

PR Commands — comment on this PR to trigger (requires collaborator approval):

Command Description
/benchmark -f <framework> Run all benchmark tests
/benchmark -f <framework> -t <test> Run a specific test
/benchmark -f <framework> --save Run and save results (updates leaderboard on merge)

Always specify -f <framework>. Results are automatically compared against the current leaderboard.

@remittor remittor force-pushed the turboapi branch 27 times, most recently from 9a9cc9f to 5c1dfae Compare April 18, 2026 13:04
@remittor remittor force-pushed the turboapi branch 12 times, most recently from 804b829 to 62b1c5c Compare April 18, 2026 15:43
@remittor remittor marked this pull request as draft April 18, 2026 15:44
@remittor remittor force-pushed the turboapi branch 5 times, most recently from 8b430da to a2e3ab1 Compare April 18, 2026 16:49
@remittor
Copy link
Copy Markdown
Contributor Author

This is crap code written by AI !!!

@remittor remittor force-pushed the turboapi branch 3 times, most recently from aa3a032 to 021dd35 Compare April 18, 2026 17:07
@remittor
Copy link
Copy Markdown
Contributor Author

I fixed everything I could. But this is beyond my competence:

[ready] Server is up
[test] baseline endpoints
  PASS [GET /baseline11?a=13&b=42]
  PASS [POST /baseline11?a=13&b=42 body=20]
  FAIL [POST /baseline11?a=13&b=42 chunked body=20]: expected body '75', got '{"error": "Transfer-Encoding not supported"}'
        → https://www.http-arena.com/docs/test-profiles/h1/isolated/baseline/validation
[test] baseline anti-cheat (randomized inputs)
  PASS [GET /baseline11?a=866&b=384 (random)]
  PASS [POST body=627 (cache check 1)]
  PASS [POST body=472 (cache check 2)]
[test] pipelined endpoint
  PASS [GET /pipeline]
[test] json endpoint
  PASS [GET /json/{count}?m=X] (4 counts with multipliers verified)
  PASS [GET /json Content-Type] (Content-Type: application/json)
[test] json-comp endpoint
  PASS [json-comp Content-Encoding: gzip]
  PASS [json-comp response] (3 counts with multipliers, compressed)
  PASS [json-comp per-request] (no Content-Encoding without Accept-Encoding)
=== Results: 11 passed, 1 failed ===
httparena-validate-turboapi
Error: Process completed with exit code 1.

@remittor
Copy link
Copy Markdown
Contributor Author

@justrach, should we expect support for chunked body in the future?

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