1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
|
# Hitimes Changelog
## Versino 3.1.0 - 2025-01-24
* Update the supported ruby versions to be 3.1 and up
## Version 3.0.0 - 2024-05-01
* 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 using `CLOCK_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
## Version 2.0.0 2019-09-23
* 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
## Version 1.3.1 2019-01-18
* Update jruby extension to not use global runtime state (thanks @kares) (#70)
* Update travis CI config
* Update documentataion for Ruby 2.6
## Version 1.3.0 2018-06-15
* 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
## Version 1.2.6 2017-08-04
* Resolve version number issue (#61) (thanks @anthraxx)
## Version 1.2.5 2017-05-25
* Update dependencies
* Add ruby 2.4 to windows fatbinary
* Update docs to indicate windows ruby before 2.0 is no longer supported
## Version 1.2.4 2016-05-01
* 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.
## Version 1.2.3 2015-09-13
* 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
## Version 1.2.2 2014-07-09
* fix compilation issue with clock_gettime in libc (reported by eradman and virtualfunction)
* Switch to minispec for tests
## Version 1.2.1 2013-03-12
* Update dependencies
* Ruby 2.0 fixes
* Switch to Markdown, Yeah RDoc 4.0!
## Version 1.2.0 2013-02-09
* 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
## Version 1.1.1 2010-09-04
* Remove the unnecessary dependencies that should be development dependencies
## Version 1.1.0 2010-07-28
* Add a pure java extension so hitimes may be used in jruby with the same API
## Version 1.0.5 2010-07-20
* 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)
## Version 1.0.4 2009-08-01
* Add in support for x86-mingw32 gem
* Add version subdirectory for extension on all platforms
## Version 1.0.3 2009-06-28
* 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
## Version 1.0.1 2009-06-12
* Fix examples
* performance tuning, new Hitimes::Metric derived classes are faster than old Timer class
## Version 1.0.0 2009-06-12
* 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
## Version 0.4.1 2009-02-19
* change to ISC License
* fix bug in compilation on gentoo
## Version 0.4.0 2008-12-20
* 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
## Version 0.3.0
* switched to extconf for building extensions
* first release of windows binary gem
* reverted back to normal rdoc
## Version 0.2.1
* added Timer#rate method
* switched to darkfish rdoc
## Version 0.2.0
* Performance improvements
* Added Hitimes::Stats class
## Version 0.1.0
* Initial completion
|