We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4203ff commit 46b655aCopy full SHA for 46b655a
README.md
@@ -121,6 +121,19 @@ func main() {
121
}
122
```
123
124
+Benchmarks
125
+------
126
+###### Run on MacBook Pro (Retina, 15-inch, Late 2013) 2.6 GHz Intel Core i7 16 GB 1600 MHz DDR3
127
+```go
128
+$ go test -cpu=4 -bench=. -benchmem=true
129
+PASS
130
+BenchmarkValidateField-4 3000000 436 ns/op 192 B/op 2 allocs/op
131
+BenchmarkValidateStructSimple-4 500000 2863 ns/op 784 B/op 13 allocs/op
132
+BenchmarkTemplateParallelSimple-4 500000 3044 ns/op 784 B/op 13 allocs/op
133
+BenchmarkValidateStructLarge-4 100000 15226 ns/op 4853 B/op 74 allocs/op
134
+BenchmarkTemplateParallelLarge-4 100000 14637 ns/op 4856 B/op 74 allocs/op
135
+```
136
+
137
How to Contribute
138
------
139
0 commit comments