"Chunk Scatter" is a simple tool for analyzing HTTP responses that use chunked encoding. It plots each chunk on a scatter graph to help visualize when each chunk was received by the client. By understanding exactly when and what your server is transmitting, you can optimize server flushing for improved performance.
Demo: See it in action
Blog post: Learn why and how to use Chunk Scatter
- Install node.js
- Run
npm install
- Run
node bin/www
- Go to
http://localhost:3000
-
Enter one or more URLs into the textbox separated by a new line
Define an alias for each endpoint by adding it before the URL with a comma between them -
Click 'OK' (or Ctrl+Enter) to generate the scatter graph
-
The y-axis represents the accumulated length of the response in terms of the number of characters
The x-axis is simply the time in milliseconds since the request started -
Hover over any point and get a tooltip showing when the chunk was received and the response length at that time
-
You can export the graph as an image by clicking the "Image" link below it
See this blog post for more info
Dependencies: Express.js, request, async, Angular.js, Google Charts
Tested on IE9+
MIT