Skip to content

Commit

Permalink
Fix benchmark analysis script grabbing the wrong commit hash
Browse files Browse the repository at this point in the history
  • Loading branch information
koute committed Mar 21, 2024
1 parent 179e98a commit 01ed557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/benchtool/03-analyze-benchmarks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def generate_table rows
}

if File.exist?("target/criterion/commit.txt")
commit = `git rev-parse HEAD`.strip
commit = File.read("target/criterion/commit.txt")
commit_known = true
else
commit = "master"
Expand Down

0 comments on commit 01ed557

Please sign in to comment.