- Migrated to SemaphoreCI for doing full test runs on all active ruby versions.
- Remove the dependency on
Process.clock_getres
as it is unreliable. - This has the effect of deprecating some Hitimes constants that had been documented as public. These are now removed as this is a major version update
Hitimes::CLOCK_RESOLUTION_NANOSECONDS
Hitimes::CLOCK_RESOLUTION_SECONDS
Hitimes::INSTANT_CONVERSION_FACTOR
Hitimes.clock_resolution_description
Hitimes.clock_description
- Added Rubocop for some coding consistency
- Updated the supported ruby version to be 3.0 and up
- Updated all dependencies
- Changed how all the
assert_delta
style tests were done so they were not so flakey - Hitimes will now emit a
warn
message if it ends up usingCLOCK_REALTIME
- Hitimes will raise an exception if it cannot find a valid clock id. This is a bug and a message to file a report is in the exception
- Remove the C and Java extensions as
Process.clock_gettime()
has the same resolution as what the extensions did. - Update all depedencies and resolve deprecations
- Now usable on truffleruby
- Update jruby extension to not use global runtime state (thanks @kares) (#70)
- Update travis CI config
- Update documentataion for Ruby 2.6
- Add api method
Hitimes.raw_instant
to expose raw OS instant value - Add api constant
Hitimes::INSTANT_CONVERSION_FACTOR
to expose raw OS instant conversion factor - other development cleanup tasks
- Resolve version number issue (#61) (thanks @anthraxx)
- Update dependencies
- Add ruby 2.4 to windows fatbinary
- Update docs to indicate windows ruby before 2.0 is no longer supported
- Fix finding the extension on ruby 2.1.10 (thanks @wpiekutowski)
- Add more readable load error (thanks @mbautin)
- Update README with what versions of ruby are supported.
- Release new fatbinary version for windows
- Update README to indicate duration units
- Provide a more friendly error message if the gem is not installed correctly
- fix compilation issue with clock_gettime in libc (reported by eradman and virtualfunction)
- Switch to minispec for tests
- Update dependencies
- Ruby 2.0 fixes
- Switch to Markdown, Yeah RDoc 4.0!
- Update dependencies
- Documentation cleanup
- Fix use of deprecated JRuby API in java extension
- Fix use of deprecated OSX system calls in C extension
- Make hitimes -w clean
- Fix ambiguity of calling duration on non-started Interval
- Use RbConfig instead of Config (eregon)
- Added Hitimes.measure
- Switch to using rake-compiler for cross compilation of gems
- Remove the unnecessary dependencies that should be development dependencies
- Add a pure java extension so hitimes may be used in jruby with the same API
- Fix 'circular require considered harmful' warnings in 1.9.x (reported by Roger Pack)
- Fix 'method redefined' warnings in 1.9.x (reported by Roger Pack)
- Add in support for x86-mingw32 gem
- Add version subdirectory for extension on all platforms
- Fix bug with time.h on linode (reported by Roger Pack)
- Fix potential garbage collection issue with Interval class
- Windows gem is now a fat binary to support installing in 1.8 or 1.9 from the same gem
- Fix examples
- performance tuning, new Hitimes::Metric derived classes are faster than old Timer class
- Major version bump with complete refactor of the metric collection API
- 3 types of metrics now instead of just 1 Timer
- Hitimes::ValueMetric
- Hitimes::TimedMetric
- Hitimes::TimedValueMetric
- The ability to convert all metrics #to_hash
- Updated documentation with examples using each metric type
- change to ISC License
- fix bug in compilation on gentoo
- Added new stat 'rate'
- Added new stat method to_hash
- Added Hitimes::MutexedStats class for threadsafe stats collection
- not needed when used in MRI 1.8.x
- remove stale dependency on mkrf
- switched to extconf for building extensions
- first release of windows binary gem
- reverted back to normal rdoc
- added Timer#rate method
- switched to darkfish rdoc
- Performance improvements
- Added Hitimes::Stats class
- Initial completion