When you say, "very slow" what do you mean?
gzip is fast relative to other compression algorithms and relative to internet speeds.
gzip is slower than an ideal gigabit network, but faster than 100mb.
https://www.rootusers.com/gzip-vs-bzip2-vs-xz-performance-co...