Gerrit build optimization

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Gerrit build optimization

Wim Jongman-2
Hi,

I am analyzing the Gerrit build. To be able to find the bottlenecks I have added the following to the Build section of the Gerrit job:

JVM Options: -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss

This will add timestamps like so:

11:40:45 [INFO] ------< org.eclipse.core:org.eclipse.core.databinding.observable >------
11:40:45 [INFO] Building org.eclipse.core.databinding.observable 1.6.300-SNAPSHOT [3/80]
11:40:45 [INFO] ---------------------------[ eclipse-plugin ]---------------------------
11:40:45 [INFO] 
11:40:45 [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.core.databinding.observable ---
11:40:45 [INFO] 
I am currently monitoring a build and will revert if I see any problems, e.g. in the log analysis plugins.


Cheers,

Wim





_______________________________________________
platform-ui-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev
Reply | Threaded
Open this post in threaded view
|

Re: Gerrit build optimization

Jonah Graham
BTW You can also do turn on "add timestamps to console output". 


image.png

What is really nice about that is you can have it display as elapsed time and it applies to all output, not just logged output (e.g. subprocesses that just print to stdout and the shell tasks that may run before/after your mvn part). 

image.png

HTH
Jonah

~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On Wed, 22 Aug 2018 at 17:06, Wim Jongman <[hidden email]> wrote:
Hi,

I am analyzing the Gerrit build. To be able to find the bottlenecks I have added the following to the Build section of the Gerrit job:

JVM Options: -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss

This will add timestamps like so:

11:40:45 [INFO] ------< org.eclipse.core:org.eclipse.core.databinding.observable >------
11:40:45 [INFO] Building org.eclipse.core.databinding.observable 1.6.300-SNAPSHOT [3/80]
11:40:45 [INFO] ---------------------------[ eclipse-plugin ]---------------------------
11:40:45 [INFO] 
11:40:45 [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.core.databinding.observable ---
11:40:45 [INFO] 
I am currently monitoring a build and will revert if I see any problems, e.g. in the log analysis plugins.


Cheers,

Wim




_______________________________________________
platform-ui-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev

_______________________________________________
platform-ui-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev
Reply | Threaded
Open this post in threaded view
|

Re: Gerrit build optimization

Wim Jongman-2
Thanks Jonah, that is even better.

_______________________________________________
platform-ui-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev