Skip to content

Commit

Permalink
Merge pull request #313 from Shopify/rwstauner/report-rss
Browse files Browse the repository at this point in the history
Add RSS reports for each report script
  • Loading branch information
rwstauner authored Sep 16, 2024
2 parents f0356a2 + 80c1052 commit 7938da4
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 7938da4

Please sign in to comment.