Skip to content

Commit

Permalink
Update run_benchmarks.rb to pass the JSON to render_graph
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon authored Oct 7, 2024
1 parent cdf3ee9 commit 842444f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_benchmarks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -588,14 +588,14 @@ def run_benchmarks(ruby:, ruby_description:, categories:, name_filters:, out_pat
# Print the table to the console, with numbers truncated
puts(output_str)

# Print CSV and PNG file names
# Print JSON and PNG file names
puts
puts "Output:"
puts out_json_path
if args.graph
require_relative 'misc/graph'
out_graph_path = output_path + ".png"
render_graph(out_tbl_path, out_graph_path)
render_graph(out_json_path, out_graph_path)
puts out_graph_path
end

Expand Down

0 comments on commit 842444f

Please sign in to comment.