Profiling
Curious what piece of code is slowing you down?
Using Remotery
val profiler = Remotery()
hub.add(profiler)final Profiler profiler = new Remotery();
hub.add(profiler);val profiler = hub.get<Profiler>()
profiler?.begin("MyProfilingPoint")
// do stuff
profiler?.end()final Profiler profiler = hub.get<Profiler>();
if(profiler == null) {
System.out.err("Could not get profiler :(");
System.exit(1);
}
profiler.begin("MyMarker");
// do stuff
profiler.end();
Using a 3rd-party Profiler
Last updated
Was this helpful?