-
Notifications
You must be signed in to change notification settings - Fork 0
Performance
Jonathan edited this page Feb 19, 2018
·
4 revisions
The first execution of code generator may not be fast (≃ 2s on my machine), but subsequent executions have acceptable performance (≃ 200ms on my machine).
Performance is not the strongest aspect of Kores, most of the time the performance penality is due to class loading process, in Bytecode generator, the performance penality is due to Bridge method generation process.
If you want to write a compiler on top of Kores, we heavily recommend you to keep it running in background and reuse the running compiler, this will keep JVM warmed up and compilation process will be faster. See Kores-CompilerUtils Background.