Here \(|\mathbf r'|=2\), so \(L=\int_0^\pi2\,dt=2\pi\). It is the same length as with \(\langle\cos t,\sin t\rangle\): length does not depend on how fast the curve is traversed, only on the curve and how many times it is traversed.
The arc length of a parametric curve \(\mathbf r(t)\), with \(a\le t\le b\), is the total distance \(L\) traveled along it, measured along the curve itself.