Skip to content

Commit e68cfdb

Browse files
committed
go test
1 parent 93432d5 commit e68cfdb

File tree

2 files changed

+18
-249
lines changed

2 files changed

+18
-249
lines changed

btm_test.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package main
2+
3+
import (
4+
"testing"
5+
"time"
6+
)
7+
8+
func Benchmark(b *testing.B) {
9+
customTimerTag := false
10+
if customTimerTag {
11+
b.StopTimer()
12+
}
13+
b.SetBytes(12345678)
14+
time.Sleep(time.Second)
15+
if customTimerTag {
16+
b.StartTimer()
17+
}
18+
}

html_parser.go

Lines changed: 0 additions & 249 deletions
This file was deleted.

0 commit comments

Comments
 (0)