Skip to content

Commit

Permalink
Remove time measure
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgonmic committed Dec 4, 2024
1 parent 53c8495 commit aed319e
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 aed319e

Please sign in to comment.