Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance issue #71

Closed
Jrdevil-Wang opened this issue Jun 10, 2020 · 2 comments
Closed

Performance issue #71

Jrdevil-Wang opened this issue Jun 10, 2020 · 2 comments

Comments

@Jrdevil-Wang
Copy link

Jrdevil-Wang commented Jun 10, 2020

Hello, I am doing some experiments using octomap, and something strange occur on performance.

When I use the default octomap version along with ROS melodic (Ubuntu 18.04), I get the debug log like this:

Pointcloud insertion in OctomapServer done (0+307200 pts (ground/nonground), 0.564149 sec)

But when I use the version compiled with github kinetic-devel, it is much slower and I get the debug log like this:

Pointcloud insertion in OctomapServer done (0+307200 pts (ground/nonground), 6.756059 sec)

Any idea what would cause this difference? Many thanks!

@wxmerkt
Copy link
Member

wxmerkt commented Jun 10, 2020

How did you compile/what are your workspace settings? Is Release mode set?

@Jrdevil-Wang
Copy link
Author

Thank you for your quick reply!
It was my mistake that I forget to set release mode. Did not realize that there could be that much difference.
I recompiled the workspace with "catkin_make -DCMAKE_BUILD_TYPE=Release", and the performance looks fine.
Let me close this issue and sorry for your trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants