defold (official)
defold/extension-profile-counters
An advanced example native extension that retrieves profiling data at
runtime, with the counters available even in release builds. It registers a
profile Lua module whose profile.get_properties returns a table of the
latest counters.
Lua API not typed — upstream ships no .script_api, so resolve skips it.
- GitHub: defold/extension-profile-counters — pinned to
7fddaa2- This repo publishes no releases or tags. Add a commit archive URL — for the pinned commit,
https://github.com/defold/extension-profile-counters/archive/7fddaa2c251c77952a4cc2e873a75e30212d7c18.zip— togame.projectunder[project]dependencies, then Fetch Libraries in the Defold editor. - Call
profile.get_properties()eachupdateand print the result, as the example project'smain.scriptdoes. - Expect the regular profiler normally included in Defold to be removed, as upstream notes.
- This repo publishes no releases or tags. Add a commit archive URL — for the pinned commit,