File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,28 +75,28 @@ func BenchmarkNewHttpRequest_Get(b *testing.B) {
7575 for i := 0 ; i < b .N ; i ++ {
7676 NewHttpRequest (getRequestConfig )
7777 }
78- b .ReportAllocs ()
78+ // b.ReportAllocs()
7979}
8080
8181func BenchmarkNewHttpRequest_Post (b * testing.B ) {
8282 for i := 0 ; i < b .N ; i ++ {
8383 NewHttpRequest (postRequestConfig )
8484 }
85- b .ReportAllocs ()
85+ // b.ReportAllocs()
8686}
8787
8888func BenchmarkCopyHttpRequest_Get (b * testing.B ) {
8989 base , _ := NewHttpRequest (getRequestConfig )
9090 for i := 0 ; i < b .N ; i ++ {
9191 CopyHttpRequest (getRequestConfig , base )
9292 }
93- b .ReportAllocs ()
93+ // b.ReportAllocs()
9494}
9595
9696func BenchmarkCopyHttpRequest_Post (b * testing.B ) {
9797 base , _ := NewHttpRequest (postRequestConfig )
9898 for i := 0 ; i < b .N ; i ++ {
9999 CopyHttpRequest (postRequestConfig , base )
100100 }
101- b .ReportAllocs ()
101+ // b.ReportAllocs()
102102}
You can’t perform that action at this time.
0 commit comments