I see where this fails, but I can't make it happen. Can you reproduce this on command, or is it random?user1234 wrote: ↑Thu Aug 04, 2022 5:32 pm I did a little stress test. When change often really fast scale, direction, generally views or anything else with many views like in the projection group task, then FreeCAD can (must not) crash. Normally that is not a problem, if that happens, then someone demand this.
TechDraw Multithread Testing
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- wandererfan
- Veteran
- Posts: 6309
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Multithread Testing
Re: Multithread Testing
More or less random. For example when i change very fast the direction. Sometimes i need 10 clicks, sometimes in need much more. But as said, very fast. In the video i clicks around 7-8 times per second.
Greetings
user1234
- babaroga
- Posts: 180
- Joined: Sun Aug 14, 2016 6:52 pm
- Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina
Re: Multithread Testing
This post is, maybe, offtopic. I want to share 2 pages of my assembly instructions generated totally with mutithreading branch of TD. All pictures and details were generated in FC, with some touches in Inkscape.
I didn't have any hickups and everything was painless and very fast compared to working with version in master. According to some rough measurement generation of pictures is 7-8 times faster.
Thank you for your work.
I didn't have any hickups and everything was painless and very fast compared to working with version in master. According to some rough measurement generation of pictures is 7-8 times faster.
Thank you for your work.
- Attachments
-
- MARTIN krevet na sprat AI.jpg (140.16 KiB) Viewed 1586 times
Re: Multithread Testing
This is sounding like quality work, I'm hoping to get some time this weekend to give it a spin with some new and older files. Thanks to all involved.
- wandererfan
- Veteran
- Posts: 6309
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
- wandererfan
- Veteran
- Posts: 6309
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Multithread Testing
The closest to a crash I can get is to invalidate Dimension references by pressing buttons in TaskProjectGroup as fast as I can. Maybe my finger are just not fast enough.
In any case, I have added some protections to prevent the crash in extractFaces. Let me know if you manage to crash the new version.
In any case, I have added some protections to prevent the crash in extractFaces. Let me know if you manage to crash the new version.
Re: Multithread Testing
Many thanks!wandererfan wrote: ↑Fri Aug 05, 2022 7:30 pm In any case, I have added some protections to prevent the crash in extractFaces. Let me know if you manage to crash the new version.
Will test it asap.
Greetings
user1234
Re: Multithread Testing
No crash more and i really really stressed it out.
Many thanks! This feature is a must have in the master.
Greetings
user1234
Re: Multithread Testing
There are plans to multithread other parts of FreeCAD, constraints in sketcher for example.?