Reduce object allocations in `QueueTime` module