Commit Graph

3 Commits

Author SHA1 Message Date
Michał Matczuk
e976075998 qb: benchmark 2017-07-31 15:30:34 +02:00
Michał Matczuk
da3ff6db67 mapper: prettified test 2017-07-26 13:37:45 +02:00
Michał Matczuk
08b131c5ee mapper: moved mapper to separate file, added snake case mapper
Performance is comparable to sting.ToLower

BenchmarkSnakeCase-4              200000              5922 ns/op            1216 B/op         97 allocs/op
BenchmarkToLower-4                300000              5418 ns/op             704 B/op         74 allocs/op
2017-07-26 11:23:17 +02:00