hitimes 1.0.4-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +60 -0
- data/LICENSE +13 -0
- data/README +134 -0
- data/Rakefile +66 -0
- data/examples/benchmarks.rb +113 -0
- data/examples/stats.rb +31 -0
- data/ext/hitimes/extconf.rb +17 -0
- data/ext/hitimes/hitimes_ext.c +21 -0
- data/ext/hitimes/hitimes_instant_clock_gettime.c +28 -0
- data/ext/hitimes/hitimes_instant_osx.c +16 -0
- data/ext/hitimes/hitimes_instant_windows.c +27 -0
- data/ext/hitimes/hitimes_interval.c +362 -0
- data/ext/hitimes/hitimes_interval.h +73 -0
- data/ext/hitimes/hitimes_stats.c +269 -0
- data/ext/hitimes/hitimes_stats.h +30 -0
- data/gemspec.rb +60 -0
- data/lib/hitimes.rb +31 -0
- data/lib/hitimes/1.8/hitimes_ext.so +0 -0
- data/lib/hitimes/1.9/hitimes_ext.so +0 -0
- data/lib/hitimes/metric.rb +112 -0
- data/lib/hitimes/mutexed_stats.rb +28 -0
- data/lib/hitimes/paths.rb +53 -0
- data/lib/hitimes/stats.rb +54 -0
- data/lib/hitimes/timed_metric.rb +177 -0
- data/lib/hitimes/timed_value_metric.rb +235 -0
- data/lib/hitimes/value_metric.rb +72 -0
- data/lib/hitimes/version.rb +57 -0
- data/spec/interval_spec.rb +133 -0
- data/spec/metric_spec.rb +30 -0
- data/spec/mutex_stats_spec.rb +34 -0
- data/spec/paths_spec.rb +13 -0
- data/spec/spec_helper.rb +5 -0
- data/spec/stats_spec.rb +100 -0
- data/spec/timed_metric_spec.rb +155 -0
- data/spec/timed_value_metric_spec.rb +172 -0
- data/spec/value_metric_spec.rb +110 -0
- data/spec/version_spec.rb +33 -0
- data/tasks/announce.rake +42 -0
- data/tasks/config.rb +108 -0
- data/tasks/distribution.rake +77 -0
- data/tasks/documentation.rake +32 -0
- data/tasks/extension.rake +92 -0
- data/tasks/rspec.rake +31 -0
- data/tasks/rubyforge.rake +55 -0
- data/tasks/utils.rb +80 -0
- metadata +150 -0
metadata
ADDED
@@ -0,0 +1,150 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hitimes
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.4
|
5
|
+
platform: x86-mswin32
|
6
|
+
authors:
|
7
|
+
- Jeremy Hinegardner
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-08-01 00:00:00 -06:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rake
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ~>
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.8.1
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: configuration
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.0.5
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: json
|
37
|
+
type: :development
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.1.3
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: rake-compiler
|
47
|
+
type: :development
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.5.0
|
54
|
+
version:
|
55
|
+
description: "Hitimes is a fast, high resolution timer library for recording performance metrics. It uses the appropriate C method calls for each system to get the highest granularity time increments possible. It currently supports any of the following systems: * any system with the POSIX call <tt>clock_gettime()</tt>, * Mac OS X * Windows Using Hitimes can be faster than using a series of +Time.new+ calls, and it will have a much higher granularity. It is definitely faster than using +Process.times+."
|
56
|
+
email: jeremy@copiousfreetime.org
|
57
|
+
executables: []
|
58
|
+
|
59
|
+
extensions: []
|
60
|
+
|
61
|
+
extra_rdoc_files:
|
62
|
+
- README
|
63
|
+
- HISTORY
|
64
|
+
- LICENSE
|
65
|
+
- lib/hitimes/metric.rb
|
66
|
+
- lib/hitimes/mutexed_stats.rb
|
67
|
+
- lib/hitimes/paths.rb
|
68
|
+
- lib/hitimes/stats.rb
|
69
|
+
- lib/hitimes/timed_metric.rb
|
70
|
+
- lib/hitimes/timed_value_metric.rb
|
71
|
+
- lib/hitimes/value_metric.rb
|
72
|
+
- lib/hitimes/version.rb
|
73
|
+
- lib/hitimes.rb
|
74
|
+
files:
|
75
|
+
- examples/benchmarks.rb
|
76
|
+
- examples/stats.rb
|
77
|
+
- ext/hitimes/hitimes_ext.c
|
78
|
+
- ext/hitimes/hitimes_instant_clock_gettime.c
|
79
|
+
- ext/hitimes/hitimes_instant_osx.c
|
80
|
+
- ext/hitimes/hitimes_instant_windows.c
|
81
|
+
- ext/hitimes/hitimes_interval.c
|
82
|
+
- ext/hitimes/hitimes_stats.c
|
83
|
+
- ext/hitimes/hitimes_interval.h
|
84
|
+
- ext/hitimes/hitimes_stats.h
|
85
|
+
- ext/hitimes/extconf.rb
|
86
|
+
- lib/hitimes/metric.rb
|
87
|
+
- lib/hitimes/mutexed_stats.rb
|
88
|
+
- lib/hitimes/paths.rb
|
89
|
+
- lib/hitimes/stats.rb
|
90
|
+
- lib/hitimes/timed_metric.rb
|
91
|
+
- lib/hitimes/timed_value_metric.rb
|
92
|
+
- lib/hitimes/value_metric.rb
|
93
|
+
- lib/hitimes/version.rb
|
94
|
+
- lib/hitimes.rb
|
95
|
+
- spec/interval_spec.rb
|
96
|
+
- spec/metric_spec.rb
|
97
|
+
- spec/mutex_stats_spec.rb
|
98
|
+
- spec/paths_spec.rb
|
99
|
+
- spec/spec_helper.rb
|
100
|
+
- spec/stats_spec.rb
|
101
|
+
- spec/timed_metric_spec.rb
|
102
|
+
- spec/timed_value_metric_spec.rb
|
103
|
+
- spec/value_metric_spec.rb
|
104
|
+
- spec/version_spec.rb
|
105
|
+
- README
|
106
|
+
- HISTORY
|
107
|
+
- LICENSE
|
108
|
+
- tasks/announce.rake
|
109
|
+
- tasks/distribution.rake
|
110
|
+
- tasks/documentation.rake
|
111
|
+
- tasks/extension.rake
|
112
|
+
- tasks/rspec.rake
|
113
|
+
- tasks/rubyforge.rake
|
114
|
+
- tasks/config.rb
|
115
|
+
- tasks/utils.rb
|
116
|
+
- Rakefile
|
117
|
+
- gemspec.rb
|
118
|
+
- lib/hitimes/1.8/hitimes_ext.so
|
119
|
+
- lib/hitimes/1.9/hitimes_ext.so
|
120
|
+
has_rdoc: true
|
121
|
+
homepage: http://copiousfreetime.rubyforge.org/hitimes/
|
122
|
+
post_install_message:
|
123
|
+
rdoc_options:
|
124
|
+
- --line-numbers
|
125
|
+
- --main
|
126
|
+
- README
|
127
|
+
require_paths:
|
128
|
+
- lib
|
129
|
+
- ext
|
130
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: "0"
|
135
|
+
version:
|
136
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: "0"
|
141
|
+
version:
|
142
|
+
requirements: []
|
143
|
+
|
144
|
+
rubyforge_project: copiousfreetime
|
145
|
+
rubygems_version: 1.3.1
|
146
|
+
signing_key:
|
147
|
+
specification_version: 2
|
148
|
+
summary: Hitimes is a fast, high resolution timer library for recording performance metrics
|
149
|
+
test_files: []
|
150
|
+
|