Skip to content

Commit

Permalink
fix benchmark cache key (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktong authored Mar 17, 2024
1 parent f4d346e commit 4ce1179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
if: ${{ github.ref_name=='main' }}
with:
path: ./cache
key: ${{ runner.os }}-benchmark-{{ github.sha }}
key: ${{ runner.os }}-benchmark-${{ github.sha }}

1 comment on commit 4ce1179

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 4ce1179 Previous: beef991 Ratio
BenchmarkLoad 326.7 ns/op 872 B/op 6 allocs/op 487.3 ns/op 0.67
BenchmarkLoad - ns/op 326.7 ns/op
BenchmarkLoad - B/op 872 B/op
BenchmarkLoad - allocs/op 6 allocs/op
BenchmarkGet 217.9 ns/op 64 B/op 5 allocs/op 200.7 ns/op 1.09
BenchmarkGet - ns/op 217.9 ns/op
BenchmarkGet - B/op 64 B/op
BenchmarkGet - allocs/op 5 allocs/op
BenchmarkUnmarshal 199.4 ns/op 48 B/op 4 allocs/op 174.5 ns/op 1.14
BenchmarkUnmarshal - ns/op 199.4 ns/op
BenchmarkUnmarshal - B/op 48 B/op
BenchmarkUnmarshal - allocs/op 4 allocs/op

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.