Re: D Profile Viewer
On Thursday, 24 March 2016 at 20:34:07 UTC, Andrew wrote: Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer Please let me know if you find any bugs. It's better to use backticks to produce raw string literals for all the quoted code. Then you don't have to backslash all the double-quotes in the HTML and JS here: https://bitbucket.org/andrewtrotman/d-profile-viewer/src/b8292aad50dab5ceca6a9067f0d867f89d9c0d20/source/app.d?at=default&fileviewer=file-view-default The for instance " src=\"https://www.google.com/jsapi\";> " becomes ` src="https://www.google.com/jsapi";> ` Thanks!
Re: D Profile Viewer
I've updated the d-profile-viewer. It now supports identifiers that are not mangles - are these 'extern "C"'? Its on dub: dub fetch d-profile-viewer Its on bitbucket: https://bitbucket.org/andrewtrotman/d-profile-viewer Thanks go to those who identified the bugs. Andrew.
Re: D Profile Viewer
On Thursday, 24 March 2016 at 20:34:07 UTC, Andrew wrote: Hi I wrote a program to turn the non-human-readable trace.log into an interactive HTML file that can be used to help profile a D program. Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer There's also a readme that (hopefully) explains how to use it. Please let me know if you find any bugs. Andrew. Hi, The html is nice, but I personally find KCacheGrind the best tool for the purpose. I guess it shouldn't be too hard to add support for the corresponding format (http://valgrind.org/docs/manual/cl-format.html) as it's done in pyprof2calltree, for example.
Re: D Profile Viewer
I've updated the d-profile-viewer. There are three changes: Works on Windows (simple '\r' or '\n' bug fixed) Works with smaller numbers (division by integers -> divide by doubles) Uses HTML entities rather than UTF-8 (coz CodeWrite doesn't know UTF-8) Its on dub: dub fetch d-profile-viewer Its on bitbucket: https://bitbucket.org/andrewtrotman/d-profile-viewer Thanks go to those who identified the bugs. Andrew.
Re: D Profile Viewer
On Monday, 28 March 2016 at 23:43:51 UTC, Andrew wrote: On Saturday, 26 March 2016 at 03:41:14 UTC, Jack Stouffer wrote: If I could make one suggestion, this should be added to dub as an executable, so I can do dub fetch d-profile-viewer dub run d-profile-viewer Done! Works like a charm :)
Re: D Profile Viewer
On Saturday, 26 March 2016 at 03:41:14 UTC, Jack Stouffer wrote: If I could make one suggestion, this should be added to dub as an executable, so I can do dub fetch d-profile-viewer dub run d-profile-viewer Done!
Re: D Profile Viewer
On Thursday, 24 March 2016 at 20:34:07 UTC, Andrew wrote: Hi I wrote a program to turn the non-human-readable trace.log into an interactive HTML file that can be used to help profile a D program. Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer There's also a readme that (hopefully) explains how to use it. Please let me know if you find any bugs. Andrew. Awesome work. If I could make one suggestion, this should be added to dub as an executable, so I can do dub fetch d-profile-viewer dub run d-profile-viewer
Re: D Profile Viewer
On 3/24/16 4:34 PM, Andrew wrote: Hi I wrote a program to turn the non-human-readable trace.log into an interactive HTML file that can be used to help profile a D program. Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer There's also a readme that (hopefully) explains how to use it. Please let me know if you find any bugs. Andrew. Hey Andrew, I remember you showing this at the D meetup last year. Very cool, glad you could get it open-sourced! -Steve
Re: D Profile Viewer
On Thursday, 24 March 2016 at 20:34:07 UTC, Andrew wrote: I wrote a program to turn the non-human-readable trace.log into an interactive HTML file that can be used to help profile a D program. Cool.
Re: D Profile Viewer
On Thursday, 24 March 2016 at 20:34:07 UTC, Andrew wrote: Hi I wrote a program to turn the non-human-readable trace.log into an interactive HTML file that can be used to help profile a D program. Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer There's also a readme that (hopefully) explains how to use it. Please let me know if you find any bugs. Andrew. It is really cool. You rock!
Re: D Profile Viewer
On Thursday, 24 March 2016 at 20:34:07 UTC, Andrew wrote: Hi I wrote a program to turn the non-human-readable trace.log into an interactive HTML file that can be used to help profile a D program. Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer There's also a readme that (hopefully) explains how to use it. Please let me know if you find any bugs. Andrew. Awesome!
Re: D Profile Viewer
On 03/24/2016 01:34 PM, Andrew wrote: Hi I wrote a program to turn the non-human-readable trace.log into an interactive HTML file that can be used to help profile a D program. Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer There's also a readme that (hopefully) explains how to use it. Please let me know if you find any bugs. Andrew. This is awesome! :D In case others have missed it, this project is open-sourced by a prominent company: > Copyright (c) 2015-2016 eBay Software Foundation Ali
Re: D Profile Viewer
On Thursday, 24 March 2016 at 21:45:20 UTC, Marco Leise wrote: Sexy pie charts! Although I'm using OProfile since it works without instrumenting the code. The pie charts are courtesy of Google Charts.
Re: D Profile Viewer
Am Thu, 24 Mar 2016 20:34:07 + schrieb Andrew : > Hi > > I wrote a program to turn the non-human-readable trace.log into > an interactive HTML file that can be used to help profile a D > program. > > Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer > > There's also a readme that (hopefully) explains how to use it. > > Please let me know if you find any bugs. > > Andrew. Sexy pie charts! Although I'm using OProfile since it works without instrumenting the code. -- Marco
Re: D Profile Viewer
On Thursday, 24 March 2016 at 20:34:07 UTC, Andrew wrote: Hi I wrote a program to turn the non-human-readable trace.log into an interactive HTML file that can be used to help profile a D program. Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer There's also a readme that (hopefully) explains how to use it. Please let me know if you find any bugs. Andrew. This looks wonderful! I was looking for something exactly like this the other day. -Rob