perf 0.1.1 → 0.1.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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/perf.rb +1 -1
  4. data/lib/perf/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6057676d372c95482dff3f79032498b9105a46c4cfafd63b965e772e7078aed
4
- data.tar.gz: 5e9089949fc0b5da400e502916d6bee1266bd22d1e59dbdcf07183509cbc6257
3
+ metadata.gz: 33458f69de2c64ca41cdba0aa62085e73c51509bf78ad479171ff263d634db0d
4
+ data.tar.gz: 830ae4e3330558209fb5418e69698cc49607a5d276e1bb81a39c07f68d08c236
5
5
  SHA512:
6
- metadata.gz: 59191dd2cf044585c83b2a7ed676c0343a198031b62a51a839f98323f5465cb749e1b8b762d3d6a8f9bd94395da643aee4618c27522742795463c507f57ef927
7
- data.tar.gz: 522b6df59b8b9ddcc0c6200f0ce8aac405a668179c00797316a5d1b72e8236273b737df9585d8482a0a1523a88f2e6c5a78c78cef1c16d9bbf3519a4bd9b7db0
6
+ metadata.gz: ec465794e98d502ff73d120933632507329ece7f3f2adf0b83b52692b42799f1ae7b2e1221342ea573e0029bfb4f1550b43241d80ff70f6a7cd327f511c8ce7e
7
+ data.tar.gz: f1b67195be50524234a6c2502339816cb2a04554c53dc4ad49bf501c8332e98cf6ab2077d1a25fe8ef504ae19c0b7504407918b2a9ff5e82165e09b1747d6c1e
data/README.md CHANGED
@@ -22,7 +22,7 @@ if RubyVM::MJIT.enabled?
22
22
  RubyVM::MJIT.pause
23
23
  end
24
24
 
25
- Perf.record(count: 5000) do
25
+ Perf.record(count: 5000, call_graph: :dwarf) do
26
26
  50000.times { bench }
27
27
  end
28
28
  ```
@@ -8,7 +8,7 @@ class << Perf
8
8
  end
9
9
  if call_graph
10
10
  call_graph = 'fp' if call_graph == true
11
- args.push('--call-graph', call_graph)
11
+ args.push('--call-graph', call_graph.to_s)
12
12
  end
13
13
  with_perf('record', *args, &block)
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module Perf
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun