Profiler?

M.Y. Developers,

I’m new to your tools but it appears that Glider comes with your Ultimote tool capability which appears to be a great perk.

Does Glider incorporate any of your profiler capabilities or should I purchase that tool separately? It seems to be very fairly priced so no problem if I need to do that. I just wanted to make sure I’m not missing anything.

Thanks :slight_smile: [import]uid: 105707 topic_id: 29748 reply_id: 329748[/import]

Hello EHO,

Yes the IDE comes with an ultimote tool that can send certain events to the simulator. The Ultimote app can also send multitouch events however.

The IDE comes with a cpu/memory timeline with manual GC control. This is just a monitoring tool you can have running alongside the app. However for a more rigorous analysis of your code the profiler is required, this will give you finer detail. There are plans of making an addon for Glider that will add a graphical realtime profiler with even more features. This however will not be available for a while though but when it is released we will give everyone who owns profiler a discount.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 29748 reply_id: 119501[/import]

I picked up the profiler and have learned a lot about my work with it. Pretty neat!

So far I’m finding “mode 3” most useful to get a sense about what sorts of things seem to increase memory (leak) over time.

The instructions mention the following for Mode 4:
“Note that mode 4 does not automatically open the URL in the browser for you. Please go to your sandbox and open up snapshot.html to view the results.”

What is the sandbox? I’m not following what that is! Thanks :slight_smile: [import]uid: 105707 topic_id: 29748 reply_id: 119850[/import]

Hello Eho,

Glad to see it is helping you! Mode 4 is the most useful for finding memory leaks.
“What is the sandbox?”
The sandbox is basically the simulator’s “Documents” and “Temporary” folder. You can access it
File > Show Project Sandbox

Here is a corona document about the sandbox:
http://developer.coronalabs.com/content/corona-20-tools-guide

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 29748 reply_id: 120168[/import]

Hello EHO,

Yes the IDE comes with an ultimote tool that can send certain events to the simulator. The Ultimote app can also send multitouch events however.

The IDE comes with a cpu/memory timeline with manual GC control. This is just a monitoring tool you can have running alongside the app. However for a more rigorous analysis of your code the profiler is required, this will give you finer detail. There are plans of making an addon for Glider that will add a graphical realtime profiler with even more features. This however will not be available for a while though but when it is released we will give everyone who owns profiler a discount.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 29748 reply_id: 119501[/import]

I picked up the profiler and have learned a lot about my work with it. Pretty neat!

So far I’m finding “mode 3” most useful to get a sense about what sorts of things seem to increase memory (leak) over time.

The instructions mention the following for Mode 4:
“Note that mode 4 does not automatically open the URL in the browser for you. Please go to your sandbox and open up snapshot.html to view the results.”

What is the sandbox? I’m not following what that is! Thanks :slight_smile: [import]uid: 105707 topic_id: 29748 reply_id: 119850[/import]

Hello Eho,

Glad to see it is helping you! Mode 4 is the most useful for finding memory leaks.
“What is the sandbox?”
The sandbox is basically the simulator’s “Documents” and “Temporary” folder. You can access it
File > Show Project Sandbox

Here is a corona document about the sandbox:
http://developer.coronalabs.com/content/corona-20-tools-guide

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 29748 reply_id: 120168[/import]