Skip to content

defold/extension-lmprof

 
 

Repository files navigation

lmprof native extension for Defold Game Engine

Original readme

Vanilla Lua 5.1 version is availible here: https://github.com/defold/extension-lmprof/tree/lua-5.1

Installation

To use this library in your Defold project, add the needed version URL to your game.project dependencies from Releases

image

Example

Add lmprof.script component to your main collection. Specify properties: image

Viewer

  • Open Google Chrome
  • Instruments -> Preformance
  • turn on Memory checkbox:

image

  • Click Load profile... and choose your json

image

image

Also, use stat.py to see calls statistics.

stat.py my.json


If you have any issues, questions or suggestions please create an issue