Job profiler plugin

13 views
Skip to first unread message

Steven Deal

unread,
Dec 18, 2013, 1:54:17 PM12/18/13
to jenkin...@googlegroups.com
I'm wondering if there exist a plugin that might capture the amount of time a job spends in each phase of the build? I could see this most useful to explain why a build is all of a sudden taking a great deal more time.

Jesse Glick

unread,
Dec 18, 2013, 2:00:46 PM12/18/13
to jenkin...@googlegroups.com
On Wed, Dec 18, 2013 at 1:54 PM, Steven Deal <steve...@gmail.com> wrote:
> I'm wondering if there exist a plugin that might capture the amount of time
> a job spends in each phase of the build?

https://wiki.jenkins-ci.org/display/JENKINS/Timestamper

(More of a question for the users’ list I guess.)

Steven Deal

unread,
Dec 18, 2013, 2:16:32 PM12/18/13
to jenkin...@googlegroups.com
I did see that... I should try it before I suggest what it can/cannot do. I was hoping for something that could understand the various phases of the build, even at a high level... like post-build or publishing and then calculate the time spent in each phase. I have a build that can run from 26 minutes to just under two hours due to some network issues we are facing. No one really wants to drill into the logs; but, if on the job page there was a graph showing where the time was spent, it might raise the issue.



--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/8M4PmFeQVDU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

James Nord (jnord)

unread,
Dec 19, 2013, 3:26:33 AM12/19/13
to jenkin...@googlegroups.com

Obviously such a thing would probably only work for freestyle type builds.

Maven2 builds the time is eaten in between every mojo execution so Sum(mojo time) < (maven start time – maven end time).  There can be a lot of overhead in here…

 

/James

 

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages