pkl
pkl copied to clipboard
Slow performance on JVM?
Just play around with pkl. It seems that parsing AST takes a very long time.
TLDR. In my PC, pkl takes 3089 ms, and kotlinx-serialization-properties takes 53 ms.
// benchmark.pkl
a {
b {
c {
d = "Hello World!"
}
}
}
// benchmark.properties
a.b.c.d=Hello World!
I have created a very simple project for benchmarking. (I didn't use kotlinx benchmark or anything else)
https://github.com/Omico/pkl-benchmark