puniverse / quasar

Fibers, Channels and Actors for the JVM

Home Page:http://docs.paralleluniverse.co/quasar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`getFiberSerializer` is slow

exFalso opened this issue · comments

getFiberSerializer currently constructs the kryo instance every time parkAndSerialize is called, and unfortunately there's no way to get around this, even if that serializer is not required. As the call is quite slow this shows up as a hotspot during profiling. It should either be pooled or some functionality should be exposed to control whether to create it or not.