QF/J build times...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

QF/J build times...

Andrew Munn
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


I have commented quickfixj-examples out of the pom and am skipping tests
and javadocs but even after a successful mvn install if I re-run mvn
install with no changes to any files it still takes nearly 5 minutes to
complete and that's running from an SSD.  That's down from 14 min with
examples and docs.  I am doing:

mvn -DskipTests -Dmaven.javadoc.skip=true install

The idea is I want to make small changes(adding or changing fields) to
FIX42.xml and quickly rebuild quickfixj-all-1.6.1.jar.  The fact that it's
taking nearly 5 mins with no file changes at all makes me think something
in the build process is not detecting that files are unchanged.  Can this
be fixed or sped up somehow?  Looks like most of the time is on 5.0 stuff
which I'm not even using.  Is there an easy way to exclude 5.0 from the
build completely?


[INFO] Reactor Summary:
[INFO]
[INFO] QuickFIX/J Parent .................................. SUCCESS [0.131 s]
[INFO] QuickFIX/J Code Generator Maven Plugin ............. SUCCESS [2.306 s]
[INFO] QuickFIX/J Dictionary Generator .................... SUCCESS [0.860 s]
[INFO] QuickFIX/J Core engine ............................. SUCCESS [7.703 s]
[INFO] QuickFIX/J Message classes for various FIX specifications SUCCESS [0.007 s]
[INFO] QuickFIX/J Message classes for FIX 4.0 ............. SUCCESS [1.871 s]
[INFO] QuickFIX/J Message classes for FIX 4.1 ............. SUCCESS [2.049 s]
[INFO] QuickFIX/J Message classes for FIX 4.2 ............. SUCCESS [3.746 s]
[INFO] QuickFIX/J Message classes for FIX 4.3 ............. SUCCESS [6.402 s]
[INFO] QuickFIX/J Message classes for FIX 4.4 ............. SUCCESS [13.914 s]
[INFO] QuickFIX/J Message classes for FIX 5.0 ............. SUCCESS [22.975 s]
[INFO] QuickFIX/J Message classes for FIX 5.0 SP1 ......... SUCCESS [29.073 s]
[INFO] QuickFIX/J Message classes for FIX 5.0 SP2 ......... SUCCESS [32.991 s]
[INFO] QuickFIX/J Message classes for FIXT 1.1 ............ SUCCESS [1.236 s]
[INFO] QuickFIX/J Message classes for all FIX specifications SUCCESS [01:40 min]
[INFO] QuickFIX/J All runtime modules ..................... SUCCESS [22.456 s]
[INFO] QuickFIX/J Distribution ............................ SUCCESS [30.046 s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 04:39 min
[INFO] Finished at: 2015-10-06T13:27:10-05:00
[INFO] Final Memory: 69M/2152M
[INFO]
------------------------------------------------------------------------  

Thanks!

------------------------------------------------------------------------------
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QF/J build times...

Christoph John
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Hi,

when I look at the build it seems that the maven-bundle-plugin takes quite some time for each
module. I don't know exactly what it is doing, though. I guess this is related to the number of
classes which need to be scanned. Also, the output for me is: "Nothing to compile - all classes are
up to date" for all of the modules. So it does not seem to have anything to do with changed files.

Can't you just do "mvn -DskipTests -Dmaven.javadoc.skip=true package -pl
quickfixj-messages/quickfixj-messages-fix42" ? This will only build FIX42classes.

Alternatively, use this: "mvn -DskipTests -Dmaven.javadoc.skip=true package -pl
\!quickfixj-messages/quickfixj-messages-fix50,\!quickfixj-messages/quickfixj-messages-fix50sp1,\!quickfixj-messages/quickfixj-messages-fix50sp2"
(works only for Maven 3.2.1 and up)

Cheers,
Chris.


On 06/10/15 20:39, Andrew Munn wrote:

> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
> I have commented quickfixj-examples out of the pom and am skipping tests
> and javadocs but even after a successful mvn install if I re-run mvn
> install with no changes to any files it still takes nearly 5 minutes to
> complete and that's running from an SSD.  That's down from 14 min with
> examples and docs.  I am doing:
>
> mvn -DskipTests -Dmaven.javadoc.skip=true install
>
> The idea is I want to make small changes(adding or changing fields) to
> FIX42.xml and quickly rebuild quickfixj-all-1.6.1.jar.  The fact that it's
> taking nearly 5 mins with no file changes at all makes me think something
> in the build process is not detecting that files are unchanged.  Can this
> be fixed or sped up somehow?  Looks like most of the time is on 5.0 stuff
> which I'm not even using.  Is there an easy way to exclude 5.0 from the
> build completely?
>
>
> [INFO] Reactor Summary:
> [INFO]
> [INFO] QuickFIX/J Parent .................................. SUCCESS [0.131 s]
> [INFO] QuickFIX/J Code Generator Maven Plugin ............. SUCCESS [2.306 s]
> [INFO] QuickFIX/J Dictionary Generator .................... SUCCESS [0.860 s]
> [INFO] QuickFIX/J Core engine ............................. SUCCESS [7.703 s]
> [INFO] QuickFIX/J Message classes for various FIX specifications SUCCESS [0.007 s]
> [INFO] QuickFIX/J Message classes for FIX 4.0 ............. SUCCESS [1.871 s]
> [INFO] QuickFIX/J Message classes for FIX 4.1 ............. SUCCESS [2.049 s]
> [INFO] QuickFIX/J Message classes for FIX 4.2 ............. SUCCESS [3.746 s]
> [INFO] QuickFIX/J Message classes for FIX 4.3 ............. SUCCESS [6.402 s]
> [INFO] QuickFIX/J Message classes for FIX 4.4 ............. SUCCESS [13.914 s]
> [INFO] QuickFIX/J Message classes for FIX 5.0 ............. SUCCESS [22.975 s]
> [INFO] QuickFIX/J Message classes for FIX 5.0 SP1 ......... SUCCESS [29.073 s]
> [INFO] QuickFIX/J Message classes for FIX 5.0 SP2 ......... SUCCESS [32.991 s]
> [INFO] QuickFIX/J Message classes for FIXT 1.1 ............ SUCCESS [1.236 s]
> [INFO] QuickFIX/J Message classes for all FIX specifications SUCCESS [01:40 min]
> [INFO] QuickFIX/J All runtime modules ..................... SUCCESS [22.456 s]
> [INFO] QuickFIX/J Distribution ............................ SUCCESS [30.046 s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 04:39 min
> [INFO] Finished at: 2015-10-06T13:27:10-05:00
> [INFO] Final Memory: 69M/2152M
> [INFO]
> ------------------------------------------------------------------------
>
> Thanks!
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users

--
Christoph John
Development & Support
Direct: +49 241 557080-28
Mailto:[hidden email]
       


http://www.macd.com <http://www.macd.com/>
----------------------------------------------------------------------------------------------------
       
----------------------------------------------------------------------------------------------------
MACD GmbH
Oppenhoffallee 103
D-52066 Aachen
Tel: +49 241 557080-0 | Fax: +49 241 557080-10
         Amtsgericht Aachen: HRB 8151
Ust.-Id: DE 813021663

Geschäftsführer: George Macdonald
----------------------------------------------------------------------------------------------------
       
----------------------------------------------------------------------------------------------------

take care of the environment - print only if necessary

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Loading...