performance test for glm::fastCos