stable_profile 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stable_profile.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 924cfdff88d8cc5778394fdab96b6bf5e446d92e700e995aaddea7744fbf1eaf
4
- data.tar.gz: d80755e9aa8810910baa570e9fca02db34efd52d3cad8bae22fb883f8c5ea2c5
3
+ metadata.gz: 7a59002ea5da6a514556069ad4094c316d59c1affc362d6f5cd3ea1afc21e697
4
+ data.tar.gz: 6a06ffeb62d321301e169248a94f8b76578dfa3f05683a76347e7152d5099fbc
5
5
  SHA512:
6
- metadata.gz: f1310ffc4a01c70433b737342d862e3de0540168dc43d1e237c4e0549b0376b675efb10435277ae65c15ebda335d25eaf20965b43587453ed742c6728f25959c
7
- data.tar.gz: 9ab86cfbd9ec8194c645be23b35d94e3860da7f4a23f6967832cc82f5e84cc7dc4bb31138c4eeb05c403ee97557572b8a2b3fd38a0aaa936e9bac3daba8a82ac
6
+ metadata.gz: a6a899e53d5404cab959c4b6ac5d54b8564e22ccfbc2a138fb10d0ddaf16eb089240d341bfda3601ae368dd9a4c20740e5e2b20d2c4e3876f8dc3047fc1b4741
7
+ data.tar.gz: e002f7bc8cab5643c276d0af9ad9ecfd66ed45c42a9763ab4299dcd8e359c987a1cd6ee99745460faae05d5226b5126397a1dc793b7fafcaad24bd1d8f1505a2
@@ -76,7 +76,7 @@ module StableProfile
76
76
  puts "Top #{top_slowest_examples} slowest examples:"
77
77
  count = 0
78
78
  example_times.sort_by { |id, record| record[:average_time] }.reverse.each do |id, record|
79
- next if count == TOP_SLOWEST_EXAMPLES
79
+ next if count == top_slowest_examples
80
80
  next if record[:run_times].size < minimum_sample_size
81
81
  count += 1
82
82
 
@@ -90,7 +90,7 @@ module StableProfile
90
90
  puts "Top #{top_slowest_examples} slowest example groups:"
91
91
  count = 0
92
92
  group_times.sort_by { |id, record| record[:average_time] }.reverse.each do |id, record|
93
- next if count == TOP_SLOWEST_EXAMPLES
93
+ next if count == top_slowest_examples
94
94
  next if record[:run_times].size < minimum_sample_size
95
95
  count += 1
96
96
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stable_profile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robb Shecter