JUnit Test performance
Back to current versionRestore this version

JUnit Test Performance#

Going from JSPWiki 2.8 to 3.0 I noticed a dramatic increase in time it takes to run the JUnit tests.
All tests were run on an Asus laptop with 1 GB memory and an Intel Core Duo 1800 MHz processor.

Env.TweakNum testsTotal time
JSPWiki-2.8 none9475 minutes 1 second
JSPWiki-3.0 none104915 minutes 11 seconds
JSPWiki-3.0 LoggerFactory c_isLog4jPresent = false
(no JMX Logger Objects)
104914 minutes 57 seconds
JSPWiki-3.0 JUnit task attribute in build.xml
forkmode="once" maxmemory="512m"
10498 minutes 3 seconds