hamax97 / flut

Distributed performance testing tool that uses Ruby
MIT License
0 stars 0 forks source link

Find an http client that allows to get performance metrics from each request #1

Open hamax97 opened 1 year ago

hamax97 commented 1 year ago

Benchmark used for memory allocation when downloading: https://gist.github.com/janko/238bbcc78b369ce3438365e5507bc671

hamax97 commented 1 year ago

Excon seems like a good option:

hamax97 commented 1 year ago

After asking ChatGPT:

hamax97 commented 1 year ago
hamax97 commented 1 year ago

How about using the HTTP client httpx? It seems to have lots of nice features:

Wiki: https://honeyryderchuck.gitlab.io/httpx/wiki/home.html

hamax97 commented 1 year ago

Perhaps it'll be better to use a low-level library, perhaps a C library with bindings in Ruby.

hamax97 commented 1 year ago

How about async-http to use in conjunction with async. Remember the C library with bindings to Ruby too.

hamax97 commented 1 year ago

First experience with async. In general it was a poor user experience: