Profiler
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Profiler
Very (very) recently:
viewtopic.php?f=4&t=1664
edit: also, search.php?st=0&sk=t&sd=d&sr=posts&keyw ... id%5B%5D=4
viewtopic.php?f=4&t=1664
edit: also, search.php?st=0&sk=t&sd=d&sr=posts&keyw ... id%5B%5D=4
Re: Profiler
That's not what I meant, I meant a program that times how long each method of my game takes and how much memory each uses. It's good for finding memory leaks and stuff.
Good bye.
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: Profiler
Memory leaks in Lua?
PiL: 17 - Weak Tables
PiL: 17 - Weak Tables
PiL wrote:Lua does automatic memory management. A program only creates objects (tables, functions, etc.); there is no function to delete objects. Lua automatically deletes objects that become garbage, using garbage collection. That frees you from most of the burden of memory management and, more important, frees you from most of the bugs related to that activity, such as dangling pointers and memory leaks.
Re: Profiler
While leaks are something of a non-issue in Lua, for once I'm actually going have to agree with Luiji, Love needs a profiler. if it has one, then it needs to be more widely mentioned.
Guessing at what is and isn't performant is largely a fool's game, but we don't really have the tools to easily do otherwise.
Guessing at what is and isn't performant is largely a fool's game, but we don't really have the tools to easily do otherwise.
"We could make a program for doing this for you, but that is for the LÖVE IDE, planned to be released in March 2142." ~mike
Networking with UDP uLove Proposal CCG: Gangrene
Networking with UDP uLove Proposal CCG: Gangrene
Re: Profiler
The "for once" is unrequired and only achieves making me feel bad about myself.Elvashi wrote:for once I'm actually going have to agree with Luiji
Love should have profiling built in, since it would be hard to implement any other way.
Good bye.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Profiler
Not true, why can't an external lib do this?
- hertzcastle
- Party member
- Posts: 100
- Joined: Sun Jan 04, 2009 4:51 pm
- Location: brighton, uk
Re: Profiler
it can already be done, but built in stuff is always more lovely.
Re: Profiler
I don't think there should be a profiler in love, as this is not relevant to the gamer.
Lovers should be able to use something like this: http://luaprofiler.luaforge.net/ or this: http://www.lua.org/pil/23.3.html if they need to.
Lovers should be able to use something like this: http://luaprofiler.luaforge.net/ or this: http://www.lua.org/pil/23.3.html if they need to.
Who is online
Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 4 guests