switch to performance.now for local
rm unused