We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffa0da4 commit 2bf9c84Copy full SHA for 2bf9c84
.github/workflows/benchmarks.yaml
@@ -15,5 +15,5 @@ jobs:
15
check-latest: true
16
cache: true
17
- name: Run Benchmarks
18
- run: make benchmark
19
- working-directory: benchmarks/vtproto
+ run: make benchmark-polyglot
+ working-directory: benchmarks
benchmarks/vtproto_test.go
@@ -252,7 +252,7 @@ func BenchmarkDecodeVTProto(b *testing.B) {
252
253
b.ResetTimer()
254
for i := 0; i < b.N; i++ {
255
- vtData.Reset()
+ vtData.Bytes = nil
256
err = vtData.UnmarshalVT(vtBuf)
257
if err != nil {
258
b.Fatal(err)
0 commit comments