Profiling FreeCAD internals #14152
andreymrt
started this conversation in
Discussions that will turn in to issues but need refining
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm running into some weird slowdowns when mousing over a model AND rotating it simultaneously with a spacemouse. It seems related to ray-casting for face/edge/point selection in 3D, which seem very slow compared to Solid.
I'm still going through to narrow down the cause and file a proper issue.
Followed the guidance at https://wiki.freecad.org/Profiling, and I see the following rough breakdown:
![image](https://private-user-images.githubusercontent.com/1222366/331893193-2e1c955c-44ac-4ea2-91bf-c5eea81ab7a8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg3Mjc5NDAsIm5iZiI6MTcxODcyNzY0MCwicGF0aCI6Ii8xMjIyMzY2LzMzMTg5MzE5My0yZTFjOTU1Yy00NGFjLTRlYTItOTFiZi1jNWVlYTgxYWI3YTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MThUMTYyMDQwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTczN2I4ZjFlNDU3OTAxZjg2ZmZlZjIzZjJhYjYzNDc2YmE4NjJjODBiZmY5YTM1YWFlZmYyYzNkN2ZiZmNjNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.KoJiGw9DZyL8HsO8yH61bCQGhYTqWQBEl608yIobLUM)
What is the FreeCAD preferred way of diving deeper into the built-in methods?
From https://forum.freecad.org/viewtopic.php?t=75660, I get the gist that I might need to compile a debug build of everything. I'm hoping there's a lower barrier way to produce fine-grained profile data.
p.s. if this thread gets some answers, they'll be good to add to the wiki
Beta Was this translation helpful? Give feedback.
All reactions