tswaters / react-thread-poc

Proof of concept for offloading react server rendering to a thread.
10 stars 1 forks source link

Use alternative benchmark library #9

Open vjpr opened 5 years ago

vjpr commented 5 years ago

ab is unreliable for me and there are better ones. https://serverfault.com/questions/181638/alternatives-to-apache-benchmark

autocannon works pretty well for me - just have to tweak the output.

autocannon -a $requests -c $concurrency $url
tswaters commented 5 years ago

I'm not sure if autocannon will work for me here. The first part is bench, the next part is pretty graph. Ideally any tool I'd change to would have some sort of output I can pipe into gnuplot. If the autocannon output is fine for you, you could always replace the command and comment out the gnuplot stuff.

I'm going to leave this open as I too have had a fair number of problems with ab - but I don't have the time now to research the best replacement.... ideally I'd like to see stability and some form of data output that shows how long each request took.