optimus
optimus copied to clipboard
Investigate lot of allocations and time required in JobRepository benchmarks
We have the following data from the JobRepository benchmarks:
BenchmarkJobRepository/Save-16 1 1375010724 ns/op 3291376 B/op 11338 allocs/op
BenchmarkJobRepository/GetByName-16 1 20054992147 ns/op 98418488 B/op 1075058 allocs/op
BenchmarkJobRepository/GetAll-16 1 20741357727 ns/op 135020856 B/op 1552099 allocs/op
BenchmarkProjectJobRepo/GetByName-16 1 19931592173 ns/op 98327032 B/op 1074752 allocs/op
BenchmarkProjectJobRepo/GetAll-16 7 160527678 ns/op 37056641 B/op 478188 allocs/op
We should investigate the test and code to identify the source of too many allocations and add a fix for the same.