|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Running instrumented JUnit tests is much slowerHi,
One of the project I'm dealing with is running JUnit tests and are using cobertura to have code coverage. Running JUnit tests without instrumentation takes less than 2 minutes, but running instrumented tests takes more than 25 minutes. Do you have any idea of what can be the reason of the problem? Thanks Julien ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
Re: Running instrumented JUnit tests is much slowerHow are you running your tests? One possibility is that you are forking a new JVM for every test, causing Cobertura to load/merge/write the coverage data from/to disk at the end of every test. If you're running your tests through Ant, you can avoid this by setting forkmode="once".
There will always be overhead from instrumentation for obvious reasons, but it shouldn't be on the order you describe. -Jake On Fri, Oct 23, 2009 at 12:51 PM, Julien HENRY <henryju@...> wrote: Hi, ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
| Free embeddable forum powered by Nabble | Forum Help |