diff --git a/ui/src/main/java/org/adoptopenjdk/jitwatch/sandbox/Sandbox.java b/ui/src/main/java/org/adoptopenjdk/jitwatch/sandbox/Sandbox.java index 20461c8d..60005828 100644 --- a/ui/src/main/java/org/adoptopenjdk/jitwatch/sandbox/Sandbox.java +++ b/ui/src/main/java/org/adoptopenjdk/jitwatch/sandbox/Sandbox.java @@ -197,9 +197,13 @@ public void runSandbox(String language, List compileList, File fileToRun) lastProcess = runtime; + long start = System.currentTimeMillis(); + boolean executionSuccess = executeClass(fqClassNameToRun, runtime, logParser.getConfig().isSandboxIntelMode()); - logListener.handleLogEntry("Execution success: " + executionSuccess); + long stop = System.currentTimeMillis(); + + logListener.handleLogEntry("Execution success: " + executionSuccess + " in " + (stop - start) + "ms"); if (executionSuccess) {