[infinispan-dev] Using Dummy VS JBossTM for running tests
Mircea Markus
mircea.markus at jboss.com
Tue Feb 22 10:03:01 EST 2011
Hi,
I've just run core's test suite with JBossTM and DummyTM.
The duration on my local machine are:
With dummy TM: 5:46.800s
With JBossTM: 5:23.671s
A explanation for JBossTM over performing DummyTM in spite keeping a tx log on the disk (which dummyTm doesn't) is the fact that it has 2PC optimisations for situations where only one resource is registered. In other words if there is only one cache participating in the transaction (most of our tests are like that) there won't be 2RPC but only one.
Shall we use JBossTM as default TM for running local tests ?
Cheers,
Mircea
More information about the infinispan-dev
mailing list