thebuzzmedia/imgscalr — pull request #98 by jentfoo (2014-01-15 21:00:59+00:00)
Title: Only call out to System.currentTimeMillis if in debug mode

This can improve performance as System.currentTimeMillis requires you to trap to the kernel. In our use case (for annoying reasons I rather not get into), we are using your library to scale video frames. Because of that we have to scale lots and lots of images rather quickly, and this means that even these small System.currentTimeMillis calls can be noticeable.