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. | Tweak | Num tests | Total time |
|---|---|---|---|
| JSPWiki-2.8 | none | 947 | 5 minutes 1 second |
| JSPWiki-3.0 | none | 1049 | 15 minutes 11 seconds |
| JSPWiki-3.0 | LoggerFactory c_isLog4jPresent = false (no JMX Logger Objects) | 1049 | 14 minutes 57 seconds |
| JSPWiki-3.0 | JUnit task attribute in build.xml forkmode="once" maxmemory="512m" | 1049 | 8 minutes 3 seconds |

