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

Packages

No packages published

Languages

  • C 75.7%
  • Lua 21.2%
  • C++ 2.7%
  • Python 0.4%