trashed 3.2.1 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4899c11a38074aa3caa8f2a0ca2546c22ac7f0a8
4
- data.tar.gz: 3e3c47014456bb2f1088a4a129e3717155518480
3
+ metadata.gz: 9be5586ac7b6aebd664a362817c2de50eec2293f
4
+ data.tar.gz: 402368bf9667ec1f3f5acaa647779c3ebd4a1ab8
5
5
  SHA512:
6
- metadata.gz: 5dd32f83be957ff28476cbc8cc79c527ccb250c368dd58c771661786a20eeb08c797576e409ad70881bde674223fae927bd9a97094a5f129dc9aafa9f7b1e031
7
- data.tar.gz: 0e920e3d2bcd59fdc8c3c75e3e4b7cbc072c045f048192f0596c80c5048bd32fbf71593774e39274e217dfdecbb676542018065d60b6ed5b2893765508ff1394
6
+ metadata.gz: 13c7398eb5fc99dbf05045f38bc989514212d9eec0652728ef414c0d827ce9d206c90b63f475db1404cae11be27fb69bdcb85f39efd21b53f1c56749ad253aeb
7
+ data.tar.gz: 4da95ae94891703700174a62ce5f483d668b5724c2e0fc1169ba5e5b11921efb85e9110a419aed50e69ba64fe187e8a7b1f9d97dfbff78d354b9b45e8d6539b2
@@ -9,11 +9,11 @@ module Trashed
9
9
 
10
10
  # Captures in-band GC time and stats.
11
11
  def measure(state, timings, gauges, captured = :GC)
12
- timings[:"#{captured}.time"] ||= GC::Profiler.total_time
12
+ timings[:"#{captured}.time"] ||= 1000 * GC::Profiler.total_time
13
13
 
14
14
  if GC::Profiler.respond_to? :raw_data
15
15
  timings[:"#{captured}.count"] ||= GC::Profiler.raw_data.size
16
- timings[:'GC.interval'] = GC::Profiler.raw_data.map { |data| data[:GC_INVOKE_TIME] }
16
+ timings[:'GC.interval'] = GC::Profiler.raw_data.map { |data| 1000 * data[:GC_INVOKE_TIME] }
17
17
  end
18
18
 
19
19
  # Clears .total_time and .raw_data
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trashed
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Kemper