Profiler

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

Profiler

Post by Luiji »

Are there any profiling tools for LOVE games?
Good bye.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Profiler

Post by vrld »

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

Re: Profiler

Post by Luiji »

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.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: Profiler

Post by TechnoCat »

Memory leaks in Lua?
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.
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

Re: Profiler

Post by Luiji »

Leaks were just an example of what a profiler does.
Good bye.
User avatar
Elvashi
Prole
Posts: 45
Joined: Sat Jul 04, 2009 9:17 am
Location: Australia

Re: Profiler

Post by Elvashi »

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.
"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
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

Re: Profiler

Post by Luiji »

Elvashi wrote:for once I'm actually going have to agree with Luiji
The "for once" is unrequired and only achieves making me feel bad about myself.

Love should have profiling built in, since it would be hard to implement any other way.
Good bye.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Profiler

Post by bartbes »

Not true, why can't an external lib do this?
User avatar
hertzcastle
Party member
Posts: 100
Joined: Sun Jan 04, 2009 4:51 pm
Location: brighton, uk

Re: Profiler

Post by hertzcastle »

it can already be done, but built in stuff is always more lovely.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Profiler

Post by vrld »

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.
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests