mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 18:24:35 +00:00
Minimum perf run in debug build
This commit is contained in:
parent
d336d3fb27
commit
3a560f3fd5
@ -264,13 +264,16 @@ int main()
|
|||||||
Error += test_inverse_simd();
|
Error += test_inverse_simd();
|
||||||
|
|
||||||
# ifdef NDEBUG
|
# ifdef NDEBUG
|
||||||
std::size_t const Samples(1000);
|
std::size_t const Samples = 1000;
|
||||||
|
# else
|
||||||
|
std::size_t const Samples = 1;
|
||||||
|
# endif//NDEBUG
|
||||||
|
|
||||||
for(std::size_t i = 0; i < 1; ++i)
|
for(std::size_t i = 0; i < 1; ++i)
|
||||||
{
|
{
|
||||||
Error += test_inverse_perf<glm::vec3, glm::mat4>(Samples, i, "mat4");
|
Error += test_inverse_perf<glm::vec3, glm::mat4>(Samples, i, "mat4");
|
||||||
Error += test_inverse_perf<glm::dvec3, glm::dmat4>(Samples, i, "dmat4");
|
Error += test_inverse_perf<glm::dvec3, glm::dmat4>(Samples, i, "dmat4");
|
||||||
}
|
}
|
||||||
# endif//NDEBUG
|
|
||||||
|
|
||||||
return Error;
|
return Error;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user