My datapack lags the server extremely,

heres my tick file

#tick.mcfunction

execute as @a run function puff:check_inventory
execute as @a run function puff:remove_marker
execute as @a[advancements={puff:open_brewing_stand=true}] run function puff:reset_brewing_stand_advancement
execute as @a[advancements={puff:puff_potion_brew=true}] run advancement revoke @a only puff:puff_potion_brew
Continue to help post