To better understand how CPU is used in a Zipline program, use the sampling profiler. It writes data in HPROF format that is readable by YourKit.
Note that this profiler only observes Kotlin/JS.
zipline.quickJs.startCpuSampling(fileSystem, "zipline.hprof".toPath()).use {
// ...use Zipline...
}