This is a minimum reproducible example for a case where precomplilation seems to take an unreasonable amount of time. The custom workload just takes a couple of seconds, but precompilation seemingly hangs for much longer than that.
Just precompile the package and wait...