FrameworkBenchmarks
FrameworkBenchmarks copied to clipboard
New benchmark type porposal - JSON deserialization over POST
These benchmark tests have been my go to place for any kind of performance comparison. Really love the thoroughness here. Lately, I have come across cases where I want to test the performance of various web servers with respect to ingesting data into the system.
The idea is that this benchmark would test the ability of the platform/web server to read concurrent input streams and then deserialize the incoming JSON payload into an object.
Things that can vary for the framework:
- Platform (web server, framework etc)
- JSON parser library used (if the platform does not provide one already)
Things that can vary for the test:
- Payload size and complexity - size of the JSON and number of nested levels
- Concurrency - Parallel requests to the server
The response can be a dummy response as JSON serialization in response is not being tested here.
This seems like a great idea to me. A web performance benchmark should have at least one test that's a POST.