Search in sources :

Example 1 with PlatformMonitor

use of org.eclipse.jetty.toolchain.perf.PlatformMonitor in project jetty.project by eclipse.

the class SchedulerTest method testBenchmark.

@Test
@Slow
@Ignore
public void testBenchmark() throws Exception {
    schedule(2000, 10000, 2000, 50);
    PlatformMonitor benchmark = new PlatformMonitor();
    PlatformMonitor.Start start = benchmark.start();
    System.err.println(start);
    System.err.println(_scheduler);
    schedule(2000, 30000, 2000, 50);
    PlatformMonitor.Stop stop = benchmark.stop();
    System.err.println(stop);
}
Also used : PlatformMonitor(org.eclipse.jetty.toolchain.perf.PlatformMonitor) Ignore(org.junit.Ignore) Test(org.junit.Test) Slow(org.eclipse.jetty.toolchain.test.annotation.Slow)

Aggregations

PlatformMonitor (org.eclipse.jetty.toolchain.perf.PlatformMonitor)1 Slow (org.eclipse.jetty.toolchain.test.annotation.Slow)1 Ignore (org.junit.Ignore)1 Test (org.junit.Test)1