In-memory vs database execution

Compare Daobab cached vs regural JPA Datasase query.

Test code:

ShowTime.compareCache(
	()->daoPizzaHibernate.findByProperty("name", DictPizzaName.EUROPEAN),
	()-> Select.entityListWhere(daoPizzaCached.colName(),DictPizzaName.EUROPEAN),
	1000);

To make this test clear, no Daobab is used in first query.

Result:

*********************************************************************************************
Comparation summary for 1000 loops: 
No cached dao execution time: 00:00:00:829
Cached dao execution time: 00:00:00:38
*********************************************************************************************