How do I increase the speed of a mob spawner in Minecraft?

I have a mob spawner killer for xp but it goes very slow. Is there anyway to increase the speed of the mob spawner?

Bedrock


Solution 1:

Try using the command /gamerule randomTickSpeed 1200. You can change 1200 to whatever you want