Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/defold/extension-lmprof
Lua memory profiler for Defold based on lmprof
https://github.com/defold/extension-lmprof
defold defold-library lua memory-profiler profiler
Last synced: 2 months ago
JSON representation
Lua memory profiler for Defold based on lmprof
- Host: GitHub
- URL: https://github.com/defold/extension-lmprof
- Owner: defold
- License: mit
- Fork: true (citizenfx/lmprof)
- Created: 2023-03-03T13:59:28.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-17T08:45:42.000Z (about 1 year ago)
- Last Synced: 2024-05-01T11:21:51.373Z (8 months ago)
- Topics: defold, defold-library, lua, memory-profiler, profiler
- Language: C
- Homepage:
- Size: 2.87 MB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-defold - lmprof
README
# lmprof native extension for Defold Game Engine
[Original readme](https://github.com/defold/extension-lmprof/blob/master/ORIGINAL_README.md)
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](https://github.com/defold/extension-lmprof/releases)## Example
Add `lmprof.script` component to your main collection.
Specify properties:## Viewer
* Open Google Chrome
* Instruments -> Preformance
* turn on `Memory` checkbox:* Click `Load profile...` and choose your `json`
Also, use [stat.py](https://github.com/defold/extension-lmprof/blob/master/stat.py) to see calls statistics.
>stat.py my.json
---
If you have any issues, questions or suggestions please [create an issue](https://github.com/defold/extension-lmprof/issues)