Who knew that all of Invidious' problems can be resolved by recompiling various upstream dependencies
Apparently the default compilation flags for Bohem GC on most distros creates a GC that isn't set to handle "large" (> 100 mb) memory heaps well due to missing the --enable-large-config flag which results in significantly worse performance.
See this thread for more information
https://forum.crystal-lang.org/t/use-docker-cross-build-crystal-compiler-without-install-bdwgc-successful-but-why-shouldnt-bdwgc-be-a-required-dependency/6332/8