Skip to content

Conversation

@deankarn
Copy link
Contributor

benchmarks have slightly increased b/ops for this functionality

$ go test -cpu=4 -bench=. -benchmem=true
PASS
BenchmarkValidateField-4             3000000           439 ns/op         192 B/op          2 allocs/op
BenchmarkValidateStructSimple-4      1000000          2382 ns/op         656 B/op         10 allocs/op
BenchmarkTemplateParallelSimple-4    2000000           910 ns/op         656 B/op         10 allocs/op
BenchmarkValidateStructLarge-4        100000         13201 ns/op        4309 B/op         60 allocs/op
BenchmarkTemplateParallelLarge-4      300000          5240 ns/op        4311 B/op         60 allocs/op

for #78

@deankarn deankarn added the new label Jun 27, 2015
@deankarn deankarn self-assigned this Jun 27, 2015
@deankarn deankarn added this to the Next Release v5 milestone Jun 27, 2015
deankarn pushed a commit that referenced this pull request Jun 27, 2015
Merge latest dive changes for slice, array and maps
@deankarn deankarn merged commit 740b7d0 into v5 Jun 27, 2015
fairyhunter13 added a commit to fairyhunter13/validator that referenced this pull request Jul 12, 2020
Merge latest dive changes for slice, array and maps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants