public UBench addTask ( String name , Runnable task ) { return putTask ( name , ( ) -> { long start = System . nanoTime ( ) ; task . run ( ) ; return System . nanoTime ( ) - start ; } ) ; }
Include a named task that has no output value in to the benchmark .