evt-diagnostics-sample 2.0.0.0 → 2.0.0.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 +4 -4
- data/lib/diagnostics/sample/result.rb +7 -7
- metadata +17 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcff3c9afe7ca4e789c8d8de881dc3b256944d04c76695480b1859342ada1f13
|
4
|
+
data.tar.gz: 61984ae11cf0cf3523927471a35a3e3742c0fff742cecb8e8f7b78935d827018
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a494fe99515a27f9e677df4c6b5abd90026e5f9f83b614b37d4a73c556b81cb9732cc03beb63e8ff5f59ca01957458ba3af250504daa6cc7738fe303512998a4
|
7
|
+
data.tar.gz: 265c57925951d18af1b5fd846cd6571342c49cca72d05c9d2f51399e36bdc3b0b653a486aedf0d80682bd25972de3ea8b78975fd15623053d8073d2430597e0e
|
@@ -3,15 +3,15 @@ module Diagnostics
|
|
3
3
|
class Result
|
4
4
|
include Schema::DataStructure
|
5
5
|
|
6
|
-
attribute :cycles, Integer, default: 0
|
7
|
-
attribute :time_milliseconds, Float, default: 0.0
|
8
|
-
attribute :time_sum_squares, Float, default: 0.0
|
6
|
+
attribute :cycles, Integer, default: -> { 0 }
|
7
|
+
attribute :time_milliseconds, Float, default: -> { 0.0 }
|
8
|
+
attribute :time_sum_squares, Float, default: -> { 0.0 }
|
9
9
|
|
10
|
-
attribute :warmup_cycles, Integer, default: 0
|
11
|
-
attribute :warmup_time_milliseconds, Float, default: 0.0
|
12
|
-
attribute :warmup_time_sum_squares, Float, default: 0.0
|
10
|
+
attribute :warmup_cycles, Integer, default: -> { 0 }
|
11
|
+
attribute :warmup_time_milliseconds, Float, default: -> { 0.0 }
|
12
|
+
attribute :warmup_time_sum_squares, Float, default: -> { 0.0 }
|
13
13
|
|
14
|
-
attribute :gc, Boolean, default: false
|
14
|
+
attribute :gc, Boolean, default: -> { false }
|
15
15
|
|
16
16
|
def cycle(elapsed_time)
|
17
17
|
self.time_milliseconds += elapsed_time
|
metadata
CHANGED
@@ -1,15 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-diagnostics-sample
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-04-01 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: bigdecimal
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - ">="
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '0'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '0'
|
13
26
|
- !ruby/object:Gem::Dependency
|
14
27
|
name: evt-log
|
15
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -90,7 +103,6 @@ homepage: https://github.com/eventide-project/diagnostics-sample
|
|
90
103
|
licenses:
|
91
104
|
- MIT
|
92
105
|
metadata: {}
|
93
|
-
post_install_message:
|
94
106
|
rdoc_options: []
|
95
107
|
require_paths:
|
96
108
|
- lib
|
@@ -105,8 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
117
|
- !ruby/object:Gem::Version
|
106
118
|
version: '0'
|
107
119
|
requirements: []
|
108
|
-
rubygems_version: 3.
|
109
|
-
signing_key:
|
120
|
+
rubygems_version: 3.6.3
|
110
121
|
specification_version: 4
|
111
122
|
summary: Sampling and measurement of execution cycles
|
112
123
|
test_files: []
|