Skip to content

Commit

Permalink
Add RSS reports for each report script
Browse files Browse the repository at this point in the history
They are run as separate processes
  • Loading branch information
rwstauner committed Sep 16, 2024
1 parent f0356a2 commit 80c1052
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions basic_report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,5 @@ def ts_string_to_date(ts)
#print report.to_s
#puts
end

printf "Basic report RSS: %dMB\n", `ps -p #{$$} -o rss=`.to_i / 1024
2 changes: 2 additions & 0 deletions timeline_report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,5 @@ def ruby_desc_to_sha(ruby_desc)
report = report_class_by_name[report_name].new context
report.write_files(output_dir)
end

printf "Timeline report RSS: %dMB\n", `ps -p #{$$} -o rss=`.to_i / 1024

0 comments on commit 80c1052

Please sign in to comment.