I want to be able to profile the performance of my application. Specifically, I want:
1 - frame rate display.
2 - allocated memory information.
3 - callback with the name of the particular function I'm spending most of my time in. (Or just "a lot" of time in.)
4 - information about the number of times each function runs during a unit of time.
Anyone tackled these tasks yet in a love app?
--Mr. Strange
Profiling data
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Profiling data
we did some profile code in lua:
http://zwischenwelt.org/trac/lugre/brow ... rofile.lua (MIT License)
to display function call statistics
to measure a certain area.
http://zwischenwelt.org/trac/lugre/brow ... rofile.lua (MIT License)
to display function call statistics
Code: Select all
StartGlobalProfiler()
StopGlobalProfiler()
GlobalProfilerOutput()
Code: Select all
m = MakeProfiler()
m.StartSection("1")
m.StartSection("2")
m.StartSection("3")
m.FinishAndPrint()
Who is online
Users browsing this forum: No registered users and 6 guests