4 ms·
I could be wrong as I'm not that familiar with Ruby, but I imagine to get more meaningful results (not saying that the results will be different), I would run t
by mncaudill 18y ago
I could be wrong as I'm not that familiar with Ruby, but I imagine to get more meaningful results (not saying that the results will be different), I would run the tests many more times than 10, as well as not printing to stdout inside of your testing loop.
- sanj 18y ago100 iterations instead of 10, removed puts: TinyURL: 0.43s/req bit.ly: 0.22s/req is.gd: 0.05s/req That's close enough to my original values to not matter. It appears that the time is all spent waiting for the site to return.