Only call performance.mark when supported