Skip to content

Commit

Permalink
Add case on BnechmarkParse
Browse files Browse the repository at this point in the history
  • Loading branch information
santileira committed Jul 4, 2024
1 parent 41c59eb commit 356b6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baggage/baggage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ func BenchmarkParse(b *testing.B) {
b.ReportAllocs()

for i := 0; i < b.N; i++ {
benchBaggage, _ = Parse(`userId=alice,serverNode = DF28 , isProduction = false,hasProp=stuff;propKey;propWValue=value`)
benchBaggage, _ = Parse(`userId=alice,serverNode = DF28 , isProduction = false,hasProp=stuff;propKey;propWValue=value, propKeyUtf8=pr%fo%fp%fValue`)
}
}

Expand Down

0 comments on commit 356b6ac

Please sign in to comment.