Skip to content

Add HTTP server throughput benchmark#2

Open
nbeerbower wants to merge 2 commits into
mainfrom
claude/add-http-throughput-tests-018iPDg9baUdPn5yqv7vLKnk
Open

Add HTTP server throughput benchmark#2
nbeerbower wants to merge 2 commits into
mainfrom
claude/add-http-throughput-tests-018iPDg9baUdPn5yqv7vLKnk

Conversation

@nbeerbower

Copy link
Copy Markdown
Contributor

Add a real-world benchmark measuring HTTP server request throughput:

  • HTTP server implementations for C, Python, JavaScript, Ruby, and Hemlock
  • Python-based client for measuring requests/second
  • Integration with run.sh benchmark runner
  • Reports requests/second with ratio comparison vs C baseline

This tests real-world I/O performance and networking capabilities.

Add a real-world benchmark measuring HTTP server request throughput:
- HTTP server implementations for C, Python, JavaScript, Ruby, and Hemlock
- Python-based client for measuring requests/second
- Integration with run.sh benchmark runner
- Reports requests/second with ratio comparison vs C baseline

This tests real-world I/O performance and networking capabilities.
Tests JSON parsing and serialization performance:
- C: Custom minimal JSON parser
- Python: json module (built-in)
- JavaScript: JSON.parse/stringify (V8 optimized)
- Ruby: JSON module
- Hemlock: json_parse/json_stringify

Parses a sample JSON object with nested structures and arrays,
then serializes back to string. Measures parsing, object creation,
and string generation performance.
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.

2 participants