@systemparadox I have one flag per creep (marking target location and the like) which is about 15 in total.
I noticed all Flag functions take that time.. even setColor and setPosition because they infact remove the old flag and create a new one
I guess that explains matters..