This commit is contained in:
zeus
2025-01-28 12:28:03 +08:00
parent 738c373a77
commit ec96756800
2534 changed files with 486292 additions and 0 deletions
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
gem 'json'
require 'json'
tests = {}
STDIN.each do |line|
if line =~ /\.([^ ]*) ([^ ]*)\]' measured \[.*\] average: ([\d.]+)/
class_name = $1
test_name = $2
time = $3
tests[class_name] ||= {}
tests[class_name][test_name] = time.to_f
end
end
puts tests.to_json