From 74473a3917561dfa1b3e83eba8659f5f3fc6e478 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sat, 4 Mar 2023 17:17:52 +0100 Subject: Add ruby32 to statistics scripts Also use different colors for each ruby version. Signed-off-by: Hans de Graaff --- ruby-stats/plot | 5 +++-- ruby-stats/ruby_stats.py | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ruby-stats/plot b/ruby-stats/plot index 1aeeca0..8f25d7b 100644 --- a/ruby-stats/plot +++ b/ruby-stats/plot @@ -28,5 +28,6 @@ plot "data.txt" using 1:3 with lines lt 2 title "total", \ "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:16 with lines lt 1 lc 13 title "ruby27", \ - "data.txt" using 1:17 with lines lt 1 lc 13 title "ruby30", \ - "data.txt" using 1:18 with lines lt 1 lc 13 title "ruby31" + "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" diff --git a/ruby-stats/ruby_stats.py b/ruby-stats/ruby_stats.py index ff6f8a5..4e63b55 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_ruby31', 'ruby_targets_ruby32') import sys import time @@ -63,6 +63,8 @@ def main(): stats['ruby_targets_ruby30'].add(cpv) if 'ruby_targets_ruby31' in iuse: stats['ruby_targets_ruby31'].add(cpv) + if 'ruby_targets_ruby32' in iuse: + stats['ruby_targets_ruby32'].add(cpv) if 'ruby_targets_jruby' in iuse: stats['ruby_targets_jruby'].add(cpv) if 'ruby_targets_ree18' in iuse: -- cgit v1.2.3-65-gdbad