Skip to content

Commit bf1993c

Browse files
committed
Remove time measure
1 parent 59b4c7b commit bf1993c

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

src/main/kotlin/com/compiler/server/compiler/components/KotlinToJSTranslator.kt

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import java.nio.file.Path
1111
import kotlin.io.path.div
1212
import kotlin.io.path.readBytes
1313
import kotlin.io.path.readText
14-
import kotlin.time.measureTime
1514

1615
@Service
1716
class KotlinToJSTranslator(
@@ -197,15 +196,9 @@ class KotlinToJSTranslator(
197196
}
198197
}
199198

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
199+
cacheDir?.let { dir ->
200+
compileAction(dir.toPath())
201+
} ?: compileAction(null)
209202
}
210203
}
211204
}

0 commit comments

Comments
 (0)