www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Despiker 0.1: a GUI real-time profiler for game development

reply "Kiith-Sa" <kiithsacmp gmail.com> writes:
------------------------------------------------------------------
Announcing Despiker, a GUI real time profiler for game development
------------------------------------------------------------------

This is is a visualizer for the Tharsis.prof frame-based profiler 
library.
Profiling with writeln turned out to be unintuitive, so I ended 
up making
a GUI.

* Shows a graph of overhead in a frame
* Updates in real time as the profiled program (game) runs
* Can pause to look at the current frame
* Can browse/jump frames, jump to the worst frame.

The GUI is still a bit inconvenient (need slow-motion replay and 
minimap
to efficiently browse), but it got to the point where it's usable.

Note: this is still unstable and I'm not likely to spend much 
time on it
in the following months (as I need to work on the project I wrote 
this
for in the first place.)

GitHub:
   https://github.com/kiith-sa/despiker/issues/16
Video (WebM):
   http://defenestrate.eu/docs/despiker/_static/despiker.webm
Tutorial:
   
http://defenestrate.eu/docs/despiker/tutorials/getting_started.html
Tharsis.prof:
   https://github.com/kiith-sa/tharsis.prof
Oct 10 2014
parent reply "Brad Anderson" <eco gnuk.net> writes:
On Friday, 10 October 2014 at 23:55:03 UTC, Kiith-Sa wrote:
 ------------------------------------------------------------------
 Announcing Despiker, a GUI real time profiler for game 
 development
 ------------------------------------------------------------------
Very cool. Tharsis looks very interesting too. Also, it appears you have a great blog about this and other stuff I'm surprised I've never seen before.
Oct 11 2014
parent reply "Szymon Gatner" <noemail gmail.com> writes:
On Sunday, 12 October 2014 at 01:36:15 UTC, Brad Anderson wrote:
 On Friday, 10 October 2014 at 23:55:03 UTC, Kiith-Sa wrote:
 ------------------------------------------------------------------
 Announcing Despiker, a GUI real time profiler for game 
 development
 ------------------------------------------------------------------
Very cool. Tharsis looks very interesting too. Also, it appears you have a great blog about this and other stuff I'm surprised I've never seen before.
Very cool indeed! Will take closer look at it for sure.
Oct 13 2014
parent reply "Szymon Gatner" <noemail gmail.com> writes:
On Monday, 13 October 2014 at 10:32:54 UTC, Szymon Gatner wrote:
 On Sunday, 12 October 2014 at 01:36:15 UTC, Brad Anderson wrote:
 On Friday, 10 October 2014 at 23:55:03 UTC, Kiith-Sa wrote:
 ------------------------------------------------------------------
 Announcing Despiker, a GUI real time profiler for game 
 development
 ------------------------------------------------------------------
Very cool. Tharsis looks very interesting too. Also, it appears you have a great blog about this and other stuff I'm surprised I've never seen before.
Very cool indeed! Will take closer look at it for sure.
This happens after just adding "tharsis-prof": "~>0.4.0" to the dependancies and running 'dub' in project directory: C:\Users\bravo\AppData\Roaming\dub\packages\tharsis-prof-0.4.1\source\tharsis\pr of\despikersender.d(309): Error: cannot implicitly convert expression (this.byte sSentPerProfiler_[threadIdx]) of type ulong to uint FAIL C:\Users\bravo\AppData\Roaming\dub\packages\tharsis-prof-0.4.1\.dub\build\l ibrary-debug-windows-x86-dmd_2066-5F4CDB1FE63BE3C80C818C14E6D175D5\ tharsis-prof staticLibrary Error executing command run: dmd failed with exit code 1.
Oct 13 2014
parent "Kiith-Sa" <kiithsacmp gmail.com> writes:
On Monday, 13 October 2014 at 11:09:14 UTC, Szymon Gatner wrote:
 On Monday, 13 October 2014 at 10:32:54 UTC, Szymon Gatner wrote:
 On Sunday, 12 October 2014 at 01:36:15 UTC, Brad Anderson 
 wrote:
 On Friday, 10 October 2014 at 23:55:03 UTC, Kiith-Sa wrote:
 ------------------------------------------------------------------
 Announcing Despiker, a GUI real time profiler for game 
 development
 ------------------------------------------------------------------
Very cool. Tharsis looks very interesting too. Also, it appears you have a great blog about this and other stuff I'm surprised I've never seen before.
Very cool indeed! Will take closer look at it for sure.
This happens after just adding "tharsis-prof": "~>0.4.0" to the dependancies and running 'dub' in project directory: C:\Users\bravo\AppData\Roaming\dub\packages\tharsis-prof-0.4.1\source\tharsis\pr of\despikersender.d(309): Error: cannot implicitly convert expression (this.byte sSentPerProfiler_[threadIdx]) of type ulong to uint FAIL C:\Users\bravo\AppData\Roaming\dub\packages\tharsis-prof-0.4.1\.dub\build\l ibrary-debug-windows-x86-dmd_2066-5F4CDB1FE63BE3C80C818C14E6D175D5\ tharsis-prof staticLibrary Error executing command run: dmd failed with exit code 1.
I made new releases of despiker/tharsis.prof (0.1.1/0.4.2) that fix 32-bit compilation. Couldn't test despiker yet, though.
Oct 13 2014