kopia lustrzana https://github.com/ge0rg/aprsdroid
Benchmark w/ result
rodzic
fae714f854
commit
1bbc9b22d3
|
@ -3,7 +3,7 @@ package org.aprsdroid.app
|
|||
import _root_.android.util.Log
|
||||
|
||||
object Benchmark {
|
||||
def apply[T](tag: String)(block: => T) {
|
||||
def apply[T](tag: String)(block: => T) : T = {
|
||||
val start = System.currentTimeMillis
|
||||
try {
|
||||
block
|
||||
|
|
Ładowanie…
Reference in New Issue