use monotonic clock for timing
commit877e373f2589feaf69fe4b9bfb0d8c3d6b0a7829
authorEric Wong <e@80x24.org>
Sat, 29 Oct 2016 01:24:35 +0000 (29 01:24 +0000)
committerEric Wong <e@80x24.org>
Sat, 29 Oct 2016 01:28:43 +0000 (29 01:28 +0000)
treef6335394afc68b6c967c07b4459469bbecfeef40
parent609f67606ce0c49bdda3b379ac1061e96fe43e6f
use monotonic clock for timing

This makes us immune to system clock changes and has a nice
side effect of reducing runtime garbage.  The downside is
the additional cache overhead for extra constant lookups.

This requires Ruby 2.1 or later, but this is an unimportant
project and we can get away without caring for 2.0 and earlier.
README
http_spew.gemspec
lib/http_spew/class_methods.rb
lib/http_spew/request.rb
test/test_input_spray_with_md5.rb