Now is perfect...
Before: 3 min
while (...) {
Transaction tt(session);
ptr<Registers> ptrS = session.add(registers);
tt.commit();
}
Now: 1s
Transaction tt(session);
while (...) {
ptr<Registers> ptrS = session.add(registers);
}
tt.commit();
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest