We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59b4c7b commit bf1993cCopy full SHA for bf1993c
src/main/kotlin/com/compiler/server/compiler/components/KotlinToJSTranslator.kt
@@ -11,7 +11,6 @@ import java.nio.file.Path
11
import kotlin.io.path.div
12
import kotlin.io.path.readBytes
13
import kotlin.io.path.readText
14
-import kotlin.time.measureTime
15
16
@Service
17
class KotlinToJSTranslator(
@@ -197,15 +196,9 @@ class KotlinToJSTranslator(
197
196
}
198
199
200
- val a: CompilationResult<WasmTranslationSuccessfulOutput>
201
-
202
- val time = measureTime {
203
- a = cacheDir?.let { dir ->
204
- compileAction(dir.toPath())
205
- } ?: compileAction(null)
206
- }
207
- println("TIME: $time")
208
- a
+ cacheDir?.let { dir ->
+ compileAction(dir.toPath())
+ } ?: compileAction(null)
209
210
211
0 commit comments