Entity Engine Performance Tests
NOTE: These performance results may vary a great deal for different
databases, JDBC drivers, JTA implementations (transaction managers), connection pools,
local vs. remote deployment configurations, and hardware (app server hardware, database
server hardware, network connections).
Operation |
Entity |
Calls |
Seconds |
Seconds/Call |
Calls/Second |
findByPrimaryKey |
Large:Product |
1000 |
18.763 |
0.018763000000000002 |
53.29638117571817 |
findByPrimaryKeyCache |
Large:Product |
10000 |
0.605 |
6.05E-5 |
16528.92561983471 |
findByPrimaryKey |
Small:Party |
1000 |
2.965 |
0.0029649999999999998 |
337.26812816188874 |
findByPrimaryKeyCache |
Small:Party |
10000 |
0.424 |
4.2399999999999994E-5 |
23584.90566037736 |
create |
Large:Product |
1000 |
16.407 |
0.016407 |
60.94959468519534 |
update |
Large:Product |
1000 |
5.089 |
0.005089000000000001 |
196.5022597759874 |
remove |
Large:Product |
1000 |
9.429 |
0.009429 |
106.05578534309046 |
new HashMap |
N/A |
100000 |
1.028 |
1.028E-5 |
97276.26459143969 |
UtilMisc.toMap |
N/A |
100000 |
1.172 |
1.172E-5 |
85324.23208191126 |
UtilCache.get(String) - basic settings |
N/A |
1000000 |
0.291 |
2.91E-7 |
3436426.1168384883 |
UtilCache.get(GenericPK) - basic settings |
N/A |
1000000 |
5.74 |
5.74E-6 |
174216.02787456446 |
UtilCache.put(GenericPK) - basic settings |
N/A |
1000000 |
6.983 |
6.982999999999999E-6 |
143204.926249463 |
|