summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-08-12 09:09:32 +0200
committerHans de Graaff <graaff@gentoo.org>2024-08-12 09:10:09 +0200
commit1dafb4af622a61deb18a7bea2491b22b68fef42a (patch)
treeceebc4ef9e9eec846736e9afe5426def40c69a02 /ruby-stats
parentMake a bit bigger graph (diff)
downloadruby-scripts-1dafb4af622a61deb18a7bea2491b22b68fef42a.tar.gz
ruby-scripts-1dafb4af622a61deb18a7bea2491b22b68fef42a.tar.bz2
ruby-scripts-1dafb4af622a61deb18a7bea2491b22b68fef42a.zip
Add ruby33 to targets plot scripts
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'ruby-stats')
-rw-r--r--ruby-stats/plot3
-rwxr-xr-xruby-stats/ruby_stats.py4
2 files changed, 5 insertions, 2 deletions
diff --git a/ruby-stats/plot b/ruby-stats/plot
index db24988..2d91ec7 100644
--- a/ruby-stats/plot
+++ b/ruby-stats/plot
@@ -30,4 +30,5 @@ plot "data.txt" using 1:3 with lines lt 2 title "total", \
"data.txt" using 1:16 with lines lt 1 lc 13 title "ruby27", \
"data.txt" using 1:17 with lines lt 1 lc 14 title "ruby30", \
"data.txt" using 1:18 with lines lt 1 lc 15 title "ruby31", \
- "data.txt" using 1:19 with lines lt 1 lc 16 title "ruby32"
+ "data.txt" using 1:19 with lines lt 1 lc 16 title "ruby32", \
+ "data.txt" using 1:20 with lines lt 1 lc 17 title "ruby33"
diff --git a/ruby-stats/ruby_stats.py b/ruby-stats/ruby_stats.py
index 4e63b55..6fd57c4 100755
--- a/ruby-stats/ruby_stats.py
+++ b/ruby-stats/ruby_stats.py
@@ -9,7 +9,7 @@ bins = ('ruby', 'ruby-ng', 'ruby_targets_ruby18', 'ruby_targets_ruby19',
'ruby_targets_rbx', 'ruby_targets_ruby21', 'ruby_targets_ruby22',
'ruby_targets_ruby23', 'ruby_targets_ruby24', 'ruby_targets_ruby25',
'ruby_targets_ruby26', 'ruby_targets_ruby27', 'ruby_targets_ruby30',
- 'ruby_targets_ruby31', 'ruby_targets_ruby32')
+ 'ruby_targets_ruby31', 'ruby_targets_ruby32', 'ruby_targets_ruby33')
import sys
import time
@@ -65,6 +65,8 @@ def main():
stats['ruby_targets_ruby31'].add(cpv)
if 'ruby_targets_ruby32' in iuse:
stats['ruby_targets_ruby32'].add(cpv)
+ if 'ruby_targets_ruby33' in iuse:
+ stats['ruby_targets_ruby33'].add(cpv)
if 'ruby_targets_jruby' in iuse:
stats['ruby_targets_jruby'].add(cpv)
if 'ruby_targets_ree18' in iuse: