Skip to content
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.

Setup

  1. Add the contrib-plugin-profiler dependency to the core target.
  2. Add plugin to your world configuration.
   World world = new World(new WorldConfigurationBuilder()
                  .dependsOn(ProfilerPlugin.class)
                  .build());

No additional configuration required!

GWT/HTML5

  1. Include the sources for contrib-plugin-profiler to your web target.
  2. add the following to your game .gwt.xml
     <inherits name='net.mostlyoriginal.ContribPluginProfiler' />

Usage

Press 'P' to open and close the profiler.

Will this hurt performance?

Overhead is insignificant with the UI closed so you can safely add it to your game.

Clone this wiki locally