March 28, 2016 Re: D Profile Viewer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jack Stouffer | 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!
|
March 28, 2016 Re: D Profile Viewer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrew | 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 :)
|
May 16, 2016 Re: D Profile Viewer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrew | 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. |
May 17, 2016 Re: D Profile Viewer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrew | 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. |
June 02, 2016 Re: D Profile Viewer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrew Trotman | 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. |
June 02, 2016 Re: D Profile Viewer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrew | 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 " <script type=\"text/javascript\" src=\"https://www.google.com/jsapi\"></script> " becomes ` <script type="text/javascript" src="https://www.google.com/jsapi"></script> ` Thanks! |
Copyright © 1999-2021 by the D Language Foundation