On Tue, Nov 16, 2010 at 14:05, Tomek Kaczanowski <[email protected]> wrote: > Hello Gradlers, > > I really like profile feature that was introduced in 0.9-rc-2 version > but I am not entirely happy with the readability of the output. I > wanted to have two things: > * be able to see with one glance where is the bottleneck (the > longest project and tasks) > * but still have possibility to see the details. > > I thought that maybe bar charts can help, and after some coding I have > the following results for "gradle compileJava --profile" run against > Gradle HEAD (see attached files): > * original_09rc2_profile.html > * bar_charts_profile.html - my hacked version (the CSS bar chart > idea taken from http://concepts.waetech.com/bargraph/) > > Known limitations and comments. > * does not show task with 0 time execution (on purpose, no need to see > them really) > * might not be perfectly readable for some corner cases > * Tested with the latest Firefox, Opera, Chrome and Konqueror. Looks good. > * this is just a proposal of what can be done. Having all possible > data about evaluation and execution times we can present them any way > we find suitable. > * I'm not an artist, if you find one willing to spend some time with > CSS he can probably make it look beautiful > > What do you think? Is it any good? Please share your comments. Of > course I will be happy to share the code (after I clean it). > > -- > Regards / Pozdrawiam > Tomek Kaczanowski > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > >
Is there supposed to be color to the bars? I don't see any, nor do I see anything in the source of the html that defines colors. -- Jason Porter http://lightguard-jp.blogspot.com http://twitter.com/lightguardjp Software Engineer Open Source Advocate PGP key id: 926CCFF5 PGP key available at: keyserver.net, pgp.mit.edu --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
