migrating to mapping-benchmark with better structure.
benchmark to compare different orm solutions to simpleflatmapper
We run a query n times that return 1,10,100 and 1000 row against the SmallBenchmarkObject where n is
Test | NB |
---|---|
Mock | 1000000 |
HsqlDB | 500000 |
Mysql | 100000 |
We capture the time it takes from the query execution to the end of the transformation of all the rows into an HdrHistogram. We capture from the query execution because some library don't give us control over that and the query exec time will be the same accross framework.
- SFM Static uses a predefined list of the columns
- SFM Dynamic will use the ResultSetMetadata
- SFM Dynamic NoASM will use the ResultSetMetadata but not use asm
- Sql2o 1.5.1
- Hibernate 4.3.6.Final
- MyBatis 3.2.7
- Spring Roma