Dean Karn
06f92248de
linting cleanup
5 years ago
Russ Egan
2e9adc3329
swapped mutex for rwmutex
...
similiar single-goroutine performance, slightly better concurrent performance.
7 years ago
Dean Karn
61caf9d303
add map key validation support ( #324 )
7 years ago
Dean Karn
506cc5da56
Add Filter logic
8 years ago
joeybloggs
2de56ed26a
add parallel versions of all benchmarks
8 years ago
joeybloggs
6765805f88
continuing perf optimizations
8 years ago
joeybloggs
560bff6526
testing
8 years ago
joeybloggs
e0e1af6a61
working instance
8 years ago
joeybloggs
d451d57023
Update benchmarks + correct benchmark error
...
* Fix error with BenchmarkFieldFailure, it was recording a successful
run.
* Update some benchmarks, they were showing allocations for the creation
of the data not just processing it.
9 years ago
joeybloggs
f1acffdfe0
Add Struct Level Validation!
9 years ago
joeybloggs
10cf645b91
reorganization of code + variables to more appropriate structs
9 years ago
joeybloggs
4807bf93bb
unexpose baked in validators map for safety.
9 years ago
joeybloggs
14b90946b3
Backport v7 updates
...
backporting v7 updates for the near released v7.
9 years ago
joeybloggs
7757a227ed
Add benchmark for StructExcept
9 years ago
joeybloggs
883731a774
Updates + Benchmarks
...
update documentation.
add benchmarks for StructPartial, dive tag, cross field and cross struct cross field.
9 years ago
joeybloggs
d363ed316c
Add handling of custom types
...
can add custom type handling, example: sql driver Valuer
can override any base data type like string or int ( I'd be carefull about that, but you can )
9 years ago
joeybloggs
aef21d4d30
Update Benchmarks
...
Split out benchmarks into Success and Failure for more realistic numbers.
I was validating 2 structs within the benchmarks, both a Successful and
Failing struct which was artificially inflating the numbers.
9 years ago
joeybloggs
07f2263b41
Benchmark Updates
...
Renamed for better clarity.
Added Field OrTag Benchmark.
9 years ago
joeybloggs
019c5fc4ac
Finished converting baked in functions & some updates
...
completed all validations function conversion.
updated omitempty check to continue if all ok instead of
passing tag to be validated.
9 years ago
joeybloggs
68ba87af24
More Progess
...
added single field validation function.
updated a few more baked in functions.
added back single field validation benchmark.
9 years ago
joeybloggs
c62550c414
Investigating difference speed architectures
...
investigation if goroutines in a consumer producer pattern vs passing a map
Spoiler: the map wins out big time!
9 years ago
joeybloggs
302c3cffdd
to use new sync pool remove go 1.2 support
...
for #98
9 years ago
joeybloggs
9ff11ae808
break out benchmarks into separate file
...
create examples file for better godocs
10 years ago