How do you test if a datapack causes lag/how much resources a datapack takes?

How do you test if a datapack causes lag/how much resources a datapack takes?

Continue to help post