Skip to content

Commit 3a98f69

Browse files
chore: add benchmark result
1 parent 576fbb8 commit 3a98f69

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

parser_bench_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ By: John Doe`
2222
// regex Compile once
2323
// BenchmarkParser-4 179227 6531 ns/op 1478 B/op 23 allocs/op
2424

25+
// header regex cleaned
26+
// BenchmarkParser-4 206452 5199 ns/op 1414 B/op 23 allocs/op
27+
2528
func BenchmarkParser(b *testing.B) {
2629
for i := 0; i < b.N; i++ {
2730
_, err := Parse(sampleCommit)

0 commit comments

Comments
 (0)