summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2020-01-05 09:13:29 +0100
committerHans de Graaff <hans@degraaff.org>2020-01-05 09:15:32 +0100
commit64af647884d3934051ce510e5dd751feef822682 (patch)
tree55eb7a3d0467ebd7a9e81cda651e6cf36363ca27
parentAdd emacs mode variable to identify this as a gnuplot file (diff)
downloadruby-scripts-64af647884d3934051ce510e5dd751feef822682.tar.gz
ruby-scripts-64af647884d3934051ce510e5dd751feef822682.tar.bz2
ruby-scripts-64af647884d3934051ce510e5dd751feef822682.zip
Add ruby27
Signed-off-by: Hans de Graaff <hans@degraaff.org>
-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 c730a78..fcc07bc 100644
--- a/ruby-stats/plot
+++ b/ruby-stats/plot
@@ -26,4 +26,5 @@ plot "data.txt" using 1:3 with lines lt 2 title "total", \
"data.txt" using 1:12 with lines lt 1 lc 9 title "ruby23", \
"data.txt" using 1:13 with lines lt 1 lc 10 title "ruby24", \
"data.txt" using 1:14 with lines lt 1 lc 11 title "ruby25", \
- "data.txt" using 1:15 with lines lt 1 lc 12 title "ruby26"
+ "data.txt" using 1:15 with lines lt 1 lc 12 title "ruby26", \
+ "data.txt" using 1:16 with lines lt 1 lc 13 title "ruby27"
diff --git a/ruby-stats/ruby_stats.py b/ruby-stats/ruby_stats.py
index d8f7a9d..7316837 100755
--- a/ruby-stats/ruby_stats.py
+++ b/ruby-stats/ruby_stats.py
@@ -8,7 +8,7 @@ bins = ('ruby', 'ruby-ng', 'ruby_targets_ruby18', 'ruby_targets_ruby19',
'ruby_targets_ruby20', 'ruby_targets_jruby', 'ruby_targets_ree18',
'ruby_targets_rbx', 'ruby_targets_ruby21', 'ruby_targets_ruby22',
'ruby_targets_ruby23', 'ruby_targets_ruby24', 'ruby_targets_ruby25',
- 'ruby_targets_ruby26')
+ 'ruby_targets_ruby26', 'ruby_targets_ruby27')
import sys
import time
@@ -56,6 +56,8 @@ def main():
stats['ruby_targets_ruby25'].add(cpv)
if 'ruby_targets_ruby26' in iuse:
stats['ruby_targets_ruby26'].add(cpv)
+ if 'ruby_targets_ruby27' in iuse:
+ stats['ruby_targets_ruby27'].add(cpv)
if 'ruby_targets_jruby' in iuse:
stats['ruby_targets_jruby'].add(cpv)
if 'ruby_targets_ree18' in iuse: