Skip to content
Daan van Yperen edited this page Sep 2, 2015 · 5 revisions

Drop in plugin that wraps all artemis systems in a runtime profiler. LibGDX only.

Setup

  1. Add the contrib-plugin-profiler package to the project.
  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 in your web target.
  2. add the following to your game .gwt.xml
     <inherits name='net.mostlyoriginal.ContribPluginProfiler' />

Usage

Press F3 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