Zlib working extremely slow in functions

Hi @Mikhail_Mulyar

Welcome to MongoDB community!

It is possible that the overhead of loading the entire zlib package for just one function cause this latency. Can you try and load just that method?

Thanks
Pavel