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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +4 -4
- data/bin/derailed +3 -0
- data/lib/derailed_benchmarks/tasks.rb +1 -1
- data/lib/derailed_benchmarks/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1004e69d7a94d86e514586324fc21ce1871ca9f8690c989eafcf5283fc69e293
|
4
|
+
data.tar.gz: 0bfbb09013d068279ee58e1361ef44f122c944662cc590941299b12d80151a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48dee96d301b69c53f17467bd19918c9ea788568b5d630fe3888e2c0659345dfdef66be0b911ed2624af1cc11c9507a3700760b40f261d846f092b5e49743b79
|
7
|
+
data.tar.gz: d69df370bb2cd4aebc48d1b077eb0d81b9da5dc659209da091d15b49df76af196f32c3b4daa0d402db2fa1aaf968067fc8eb9e3c690a9fce1c2c4458087256aa
|
data/CHANGELOG.md
CHANGED
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 [
|
307
|
-
(
|
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:
|
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://
|
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
@@ -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://
|
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)
|
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.
|
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-
|
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.
|
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
|