We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b34640a commit d918129Copy full SHA for d918129
src/main/groovy/bpipe/Runner.groovy
@@ -26,6 +26,8 @@
26
package bpipe
27
28
import java.nio.channels.FileLock
29
+import java.time.LocalTime
30
+import java.time.format.DateTimeFormatter
31
import java.util.logging.ConsoleHandler
32
import java.util.logging.FileHandler
33
import java.util.logging.Handler;
@@ -156,7 +158,11 @@ class Runner {
156
158
@CompileStatic
157
159
public static void main(String [] arguments) {
160
-
161
+ if(System.properties.bpipe_show_timings == 'true') {
162
+ LocalTime now = LocalTime.now();
163
+ DateTimeFormatter fmt = DateTimeFormatter.ofPattern("mm:ss.nnnnnnnnn");
164
+ System.out.println(now.format(fmt) + " main");
165
+ }
166
167
List<String> args = arguments as List<String>
168
0 commit comments