Based on just repeated by-hand runs of ArgLineIT project from surefire
I see the diff below.
(The linux box is fearsome in terms of both CPU speed and SSD
performance; I don't expect apple to match that)
It would seem like most of the plugins run 100ms slower on the mac,
which would seem to account for about half the performance loss. When
running the actual surefire IT's it also unpacks the test project to
disk first, which might account for some of the other half.
I think this needs a little further digging ;)
Kristian
Linux:
process-resources 272ms
org.apache.maven.plugins:maven-resources-plugin:2.5
(default-resources) 271ms
compile 152ms
org.apache.maven.plugins:maven-compiler-plugin:2.5.1 (default-compile) 152ms
process-test-resources 3ms
org.apache.maven.plugins:maven-resources-plugin:2.5
(default-testResources) 3ms
test-compile 10ms
org.apache.maven.plugins:maven-compiler-plugin:2.5.1
(default-testCompile) 10ms
test 342ms
org.apache.maven.plugins:maven-surefire-plugin:2.14 (default-test) 342ms
package 93ms
org.apache.maven.plugins:maven-jar-plugin:2.3.2 (default-jar) 93ms
Mac:
process-resources 393ms
org.apache.maven.plugins:maven-resources-plugin:2.5
(default-resources) 393ms
compile 204ms
org.apache.maven.plugins:maven-compiler-plugin:2.5.1 (default-compile) 204ms
process-test-resources 5ms
org.apache.maven.plugins:maven-resources-plugin:2.5
(default-testResources) 4ms
test-compile 16ms
org.apache.maven.plugins:maven-compiler-plugin:2.5.1
(default-testCompile) 16ms
test 424ms
org.apache.maven.plugins:maven-surefire-plugin:2.14 (default-test) 424ms
package 143ms
org.apache.maven.plugins:maven-jar-plugin:2.3.2 (default-jar) 143ms
2013/3/26 Andreas Gudian <[email protected]>:
> Is the difference that big only when forking?
>
>
> Am Dienstag, 26. März 2013 schrieb Kristian Rosenvold :
>
>> My numbers seem quite dismal; forking the same test on linux/windows/mac:
>>
>> 0.75s on linux
>> 0.95s on windows 7
>> 1.6s on my MBP
>>
>> The MBP (3Ghz 13") is /supposed/ to be approx as fast or faster than
>> the windows 7 box.... I suppose
>> I'll have to try the plugin profiler to see what's going on.
>>
>> Kristian
>>
>>
>> 2013/3/26 Jesse McConnell <[email protected] <javascript:;>>:
>> > I'll just mention that timing sensitive tests always seem to bite me on
>> Mac
>> > while they run perfectly fine on linux...typically anything network
>> related
>> > seems to be a touch slower on mac, especially when spinning up lots of
>> > client connections and the like.
>> >
>> > so I have observed this as well
>> >
>> > jesse
>> >
>> > --
>> > jesse mcconnell
>> > [email protected] <javascript:;>
>> >
>> >
>> > On Tue, Mar 26, 2013 at 2:36 PM, Kristian Rosenvold <
>> > [email protected] <javascript:;>> wrote:
>> >
>> >> I was quite puzzled that the surefire IT's run about half speed of my
>> >> linux box and slightly better when compared to my windows 7 box
>> >> @dayjob. Arguably my linux box is pretty state of the art; but it
>> >> appears my 13" mbp is slow as a dog ?
>> >>
>> >> This is forked executions of IT projects, most of these running the
>> >> default plugins with 3.0.5.
>> >>
>> >> Anyone else seen this and have any suggestions as to what is causing
>> this ?
>> >>
>> >> Kristian
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [email protected] <javascript:;>
>> >> For additional commands, e-mail: [email protected]<javascript:;>
>> >>
>> >>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected] <javascript:;>
>> For additional commands, e-mail: [email protected] <javascript:;>
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]