diff --git a/bin/installer-profile b/bin/installer-profile new file mode 100755 index 00000000..83aabbcb --- /dev/null +++ b/bin/installer-profile @@ -0,0 +1,24 @@ +#!/usr/bin/env ruby + +log = File.read(ARGV[0]) + +tasks = log.split("\n").select do |line| + line.include?('Evaluated in') +end + +profile = [] + +#2021-04-27 01:13:35 [DEBUG ] [configure] /Stage[main]/Foreman/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]: Evaluated in 86.60 seconds +tasks.each do |task| + EVALTRACE = %r{.+/(?.+\]): Evaluated in (?