Skip to content

Commit

Permalink
Remove time measure
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgonmic committed Nov 18, 2024
1 parent 59b4c7b commit bf1993c
Showing 1 changed file with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import java.nio.file.Path
import kotlin.io.path.div
import kotlin.io.path.readBytes
import kotlin.io.path.readText
import kotlin.time.measureTime

@Service
class KotlinToJSTranslator(
Expand Down Expand Up @@ -197,15 +196,9 @@ class KotlinToJSTranslator(
}
}

val a: CompilationResult<WasmTranslationSuccessfulOutput>

val time = measureTime {
a = cacheDir?.let { dir ->
compileAction(dir.toPath())
} ?: compileAction(null)
}
println("TIME: $time")
a
cacheDir?.let { dir ->
compileAction(dir.toPath())
} ?: compileAction(null)
}
}
}
Expand Down

0 comments on commit bf1993c

Please sign in to comment.