Skip to content
Snippets Groups Projects
Commit 4141af72 authored by Valenza Florian's avatar Valenza Florian
Browse files

[Minor] modified benchmark behaviour, release does multiple loop, debug only one test

Conflicts:

	benchmark/timings.cpp
parent db2752d7
Branches
Tags
No related merge requests found
......@@ -27,7 +27,13 @@ int main(int argc, const char ** argv)
using namespace se3;
StackTicToc timer(StackTicToc::US);
const size_t NBT = 1000*100;
#ifdef NDEBUG
const int NBT = 1000*100;
#else
const int NBT = 1;
std::cout << "(the time score in debug mode is not relevant) " << std::endl;
#endif
se3::Model model;
std::string filename = PINOCCHIO_SOURCE_DIR"/models/simple_humanoid.urdf";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment