derailed_benchmarks 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9519f087d4eeae220039bb6d4566757d627655ac96789809608b9a93af642b1d
4
- data.tar.gz: a3f52d5df02db7a7c94043abe86cdf8d2f2bfad72595d36410ac55fc6b036faa
3
+ metadata.gz: 1004e69d7a94d86e514586324fc21ce1871ca9f8690c989eafcf5283fc69e293
4
+ data.tar.gz: 0bfbb09013d068279ee58e1361ef44f122c944662cc590941299b12d80151a80
5
5
  SHA512:
6
- metadata.gz: 817dd67a37109e785bd8c87bdc12235c41bf8de4fa7803cf241aee6c285fcf760290e52598534498a798efd3e1b0505dd39e2124413b8c65be8b6223a6b01439
7
- data.tar.gz: 0c2aeeffa9460fd920ac28945ce081cd8134397999586cc0c4e508833d9bbd93d5924c2438439fc5445ee403c345ab1149406f67fc0c468e598c44562ffd0127
6
+ metadata.gz: 48dee96d301b69c53f17467bd19918c9ea788568b5d630fe3888e2c0659345dfdef66be0b911ed2624af1cc11c9507a3700760b40f261d846f092b5e49743b79
7
+ data.tar.gz: d69df370bb2cd4aebc48d1b077eb0d81b9da5dc659209da091d15b49df76af196f32c3b4daa0d402db2fa1aaf968067fc8eb9e3c690a9fce1c2c4458087256aa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## HEAD
2
2
 
3
+ ## 2.1.1
4
+
5
+ - Fix Thor's deprecation warning by implementing `exit_on_failure?` (https://github.com/schneems/derailed_benchmarks/pull/195)
6
+
3
7
  ## 2.1.0
4
8
 
5
9
  - Add `perf:heap_diff` tool (https://github.com/schneems/derailed_benchmarks/pull/193)
data/README.md CHANGED
@@ -303,13 +303,13 @@ $ heapy --help
303
303
  ### I want more heap dumps
304
304
 
305
305
  When searching for a leak, you can use heap dumps for comparison to see what is
306
- retained. See [SamSaffron's slides](https://speakerdeck.com/samsaffron/why-ruby-2-dot-1-excites-me?slide=27)
307
- (or [a more recent inspired blog post](https://blog.skylight.io/hunting-for-leaks-in-ruby/))
306
+ retained. See [Analyzing memory heaps](https://medium.com/klaxit-techblog/tracking-a-ruby-memory-leak-in-2021-9eb56575f731#875b)
307
+ (inspired from [SamSaffron's original idea](https://speakerdeck.com/samsaffron/why-ruby-2-dot-1-excites-me?slide=27))
308
308
  for a clear example. You can generate 3 dumps (one every `TEST_COUNT` calls) using the
309
309
  next command:
310
310
 
311
311
  ```
312
- $ bundle exec derailed exec perf:heap
312
+ $ bundle exec derailed exec perf:heap_diff
313
313
  Endpoint: "/"
314
314
  Running 1000 times
315
315
  Heap file generated: "tmp/2021-05-06T15:19:26+02:00-heap-0.ndjson"
@@ -331,7 +331,7 @@ Retained IMEMO 10 objects of size 480/91280 (in bytes) at: /Users/ulysse/.rbenv/
331
331
 
332
332
  Run `$ heapy --help` for more options
333
333
 
334
- Also read https://speakerdeck.com/samsaffron/why-ruby-2-dot-1-excites-me?slide=27 to understand better what you are reading.
334
+ Also read https://medium.com/klaxit-techblog/tracking-a-ruby-memory-leak-in-2021-9eb56575f731#875b to understand better what you are reading.
335
335
  ```
336
336
 
337
337
  ### Memory Is large at boot.
data/bin/derailed CHANGED
@@ -20,6 +20,9 @@ Bundler.setup
20
20
  require 'thor'
21
21
 
22
22
  class DerailedBenchmarkCLI < Thor
23
+ def self.exit_on_failure?
24
+ true
25
+ end
23
26
 
24
27
  desc "exec", "executes given derailed benchmark"
25
28
  def exec(task = nil)
@@ -280,7 +280,7 @@ namespace :perf do
280
280
  puts ""
281
281
  puts "Run `$ heapy --help` for more options"
282
282
  puts ""
283
- puts "Also read https://speakerdeck.com/samsaffron/why-ruby-2-dot-1-excites-me?slide=27 to understand better what you are reading."
283
+ puts "Also read https://medium.com/klaxit-techblog/tracking-a-ruby-memory-leak-in-2021-9eb56575f731#875b to understand better what you are reading."
284
284
  end
285
285
 
286
286
  def run!(cmd)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DerailedBenchmarks
4
- VERSION = "2.1.0"
4
+ VERSION = "2.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: derailed_benchmarks
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Schneeman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-11 00:00:00.000000000 Z
11
+ date: 2021-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: heapy
@@ -387,7 +387,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
387
387
  - !ruby/object:Gem::Version
388
388
  version: '0'
389
389
  requirements: []
390
- rubygems_version: 3.2.15
390
+ rubygems_version: 3.2.22
391
391
  signing_key:
392
392
  specification_version: 4
393
393
  summary: Benchmarks designed to performance test your ENTIRE site