JPA GenerationType Insert Benchmark On PostgreSQL

2018/03/18

APPENDIX

16 threads

BenchmarkModeCntScoreErrorUnits
GenerationTypeBenchmark.identityss300.805± 0.013s/op
GenerationTypeBenchmark.identityBatchss300.404± 0.097s/op
GenerationTypeBenchmark.sequencess301.084± 0.011s/op
GenerationTypeBenchmark.sequenceOptimizerss300.858± 0.011s/op
GenerationTypeBenchmark.sequenceBatchss300.417± 0.093s/op
GenerationTypeBenchmark.sequenceOptimizerBatchss300.193± 0.064s/op
GenerationTypeBenchmark.tabless56.573± 1.118s/op
GenerationTypeBenchmark.tableOptimizerss300.936± 0.016s/op
GenerationTypeBenchmark.tableBatchss55.097± 0.230s/op
GenerationTypeBenchmark.tableOptimizerBatchss300.257± 0.048s/op

8 threads

BenchmarkModeCntScoreErrorUnits
GenerationTypeBenchmark.identityss300.607± 0.077s/op
GenerationTypeBenchmark.identityBatchss300.274± 0.067s/op
GenerationTypeBenchmark.sequencess300.767± 0.032s/op
GenerationTypeBenchmark.sequenceOptimizerss300.633± 0.095s/op
GenerationTypeBenchmark.sequenceBatchss300.252± 0.032s/op
GenerationTypeBenchmark.sequenceOptimizerBatchss300.123± 0.029s/op
GenerationTypeBenchmark.tabless53.260± 0.861s/op
GenerationTypeBenchmark.tableOptimizerss300.643± 0.017s/op
GenerationTypeBenchmark.tableBatchss52.409± 0.417s/op
GenerationTypeBenchmark.tableOptimizerBatchss300.138± 0.026s/op

4 threads

BenchmarkModeCntScoreErrorUnits
GenerationTypeBenchmark.identityss300.548± 0.151s/op
GenerationTypeBenchmark.identityBatchss300.218± 0.058s/op
GenerationTypeBenchmark.sequencess300.670± 0.151s/op
GenerationTypeBenchmark.sequenceOptimizerss300.537± 0.114s/op
GenerationTypeBenchmark.sequenceBatchss300.204± 0.040s/op
GenerationTypeBenchmark.sequenceOptimizerBatchss300.095± 0.026s/op
GenerationTypeBenchmark.tabless51.454± 0.288s/op
GenerationTypeBenchmark.tableOptimizerss300.547± 0.123s/op
GenerationTypeBenchmark.tableBatchss51.101± 0.070s/op
GenerationTypeBenchmark.tableOptimizerBatchss300.101± 0.018s/op

2 threads

BenchmarkModeCntScoreErrorUnits
GenerationTypeBenchmark.identityss300.369± 0.038s/op
GenerationTypeBenchmark.identityBatchss300.143± 0.020s/op
GenerationTypeBenchmark.sequencess300.476± 0.051s/op
GenerationTypeBenchmark.sequenceOptimizerss300.403± 0.044s/op
GenerationTypeBenchmark.sequenceBatchss300.164± 0.028s/op
GenerationTypeBenchmark.sequenceOptimizerBatchss300.071± 0.012s/op
GenerationTypeBenchmark.tabless50.833± 0.234s/op
GenerationTypeBenchmark.tableOptimizerss300.408± 0.047s/op
GenerationTypeBenchmark.tableBatchss50.576± 0.135s/op
GenerationTypeBenchmark.tableOptimizerBatchss300.085± 0.021s/op

1 threads

BenchmarkModeCntScoreErrorUnits
GenerationTypeBenchmark.identityss300.280± 0.018s/op
GenerationTypeBenchmark.identityBatchss300.105± 0.010s/op
GenerationTypeBenchmark.sequencess300.354± 0.024s/op
GenerationTypeBenchmark.sequenceOptimizerss300.294± 0.017s/op
GenerationTypeBenchmark.sequenceBatchss300.104± 0.009s/op
GenerationTypeBenchmark.sequenceOptimizerBatchss300.044± 0.004s/op
GenerationTypeBenchmark.tabless50.650± 0.085s/op
GenerationTypeBenchmark.tableOptimizerss300.295± 0.018s/op
GenerationTypeBenchmark.tableBatchss50.361± 0.102s/op
GenerationTypeBenchmark.tableOptimizerBatchss300.049± 0.004s/op