FTL is computing the number of distinct domains on the blocking lists. This takes much more time than anticipated on low(est)-end hardware. There is already a discussion about this (including a proposed solution!) here:
Please run
pihole checkout core tweak/gravity_count pihole -g pihole checkout ftl tweak/gravity_count
and check again if you still see the delay.