shuyouZZ commented on PR #42378: URL: https://github.com/apache/spark/pull/42378#issuecomment-1667698473
> System.nanoTime() returns time in nanoseconds, so the log will not be correct when text is in "ms" > > scala> val startTime = System.nanoTime() startTime: Long = [18704686566177](tel:18704686566177) > > scala> val duration = System.nanoTime() - startTime duration: Long = [8908577884](tel:8908577884) > > scala> print(s"$duration ms.") [8908577884](tel:8908577884) ms. Oh, it's my mistake, i will update here later. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
