-
Notifications
You must be signed in to change notification settings - Fork 19
Profiler Plugin
Daan van Yperen edited this page Sep 23, 2016
·
5 revisions
Drop in plugin that wraps all artemis systems in a runtime profiler. LibGDX only.
- Add the
contrib-plugin-profiler
dependency to the core target. - Add plugin to your world configuration.
World world = new World(new WorldConfigurationBuilder()
.dependsOn(ProfilerPlugin.class)
.build());
No additional configuration required!
- Include the sources for
contrib-plugin-profiler
to your web target. - add the following to your game
.gwt.xml
<inherits name='net.mostlyoriginal.ContribPluginProfiler' />
Press 'P' to open and close the profiler.
Overhead is insignificant with the UI closed so you can safely add it to your game.