sampling_prof 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sampling_prof.jar +0 -0
- data/lib/sampling_prof.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e74f789ae7dba019462c771325081151d194206
|
4
|
+
data.tar.gz: 00ee209871452f5fa34f62e973db2d801e6e27b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eda0c06539ea65d5a9159cbee26b047f123fd73142cbff761f7b665d90cd97e81ae12fb4718698a86b584a9787f5d02186d3f4eae323468faf4405eb8eb8bb05
|
7
|
+
data.tar.gz: b3a9f7a9900abd607deb03b669b5721b01a81f3ad2f81cb71ee241e3630ea46c622782786f76af53c34eea34a1ec6fc2b80d641e838a99c4cfd2d99d359e9e46
|
data/lib/sampling_prof.jar
CHANGED
Binary file
|
data/lib/sampling_prof.rb
CHANGED
@@ -20,11 +20,11 @@ class SamplingProf
|
|
20
20
|
stop if block_given?
|
21
21
|
end
|
22
22
|
|
23
|
-
def start
|
24
|
-
__start__(&
|
23
|
+
def start(handler=default_output_handler)
|
24
|
+
__start__(&handler)
|
25
25
|
end
|
26
26
|
|
27
|
-
def
|
27
|
+
def default_output_handler
|
28
28
|
lambda do |data|
|
29
29
|
nodes, counts, call_graph = data
|
30
30
|
File.open(output_file, 'w') do |f|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sampling_prof
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xiao Li
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2014-03-
|
12
|
+
date: 2014-03-22 00:00:00 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake-compiler
|