diff options
Diffstat (limited to 'scripts/gather-test-memory-data')
-rwxr-xr-x | scripts/gather-test-memory-data | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/scripts/gather-test-memory-data b/scripts/gather-test-memory-data deleted file mode 100755 index 3156365ac19..00000000000 --- a/scripts/gather-test-memory-data +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -require 'csv' - -def join_csv_files(output_path, input_paths) - return if input_paths.empty? - - input_csvs = input_paths.map do |input_path| - CSV.read(input_path, headers: true) - end - - CSV.open(output_path, "w", headers: input_csvs.first.headers, write_headers: true) do |output_csv| - input_csvs.each do |input_csv| - input_csv.each do |line| - output_csv << line - end - end - end -end - -join_csv_files('tmp/memory_test/report.csv', Dir['tmp/memory_test/*.csv'].sort) |