diff --git a/rake/profile.rake b/rake/profile.rake index d58c470b..d8c0f4ef 100644 --- a/rake/profile.rake +++ b/rake/profile.rake @@ -39,7 +39,7 @@ namespace :profile do end if ENV["CI"] - report.pretty_print(scale_bytes: true, color_output: false) + report.pretty_print(scale_bytes: true, color_output: false, normalize_paths: true) else FileUtils.mkdir_p("tmp") report_file = File.join("tmp", args.file) @@ -50,7 +50,7 @@ namespace :profile do Jekyll.logger.info "Total allocated: #{total_allocated_output} (#{report.total_allocated} objects)".cyan Jekyll.logger.info "Total retained: #{total_retained_output} (#{report.total_retained} objects)".cyan - report.pretty_print(to_file: report_file, scale_bytes: true) + report.pretty_print(to_file: report_file, scale_bytes: true, normalize_paths: true) Jekyll.logger.info "\nDetailed Report saved into:", report_file.cyan end end