I'll share in the embarrassment; I also just started using this, found some demos incredibly slow, and didn't think to check the build configuration. Thanks!
On Friday, September 22, 2023 at 8:40:44 AM UTC-4 hk wrote: > Haha, embarassing, sorry for my stupidity :) > I overlooked the default debug build, now it's more like I expected it to > be! > > Thanks a lot! > On Friday, September 22, 2023 at 1:54:08 PM UTC+2 Radu Serban wrote: > >> This demo should run much faster than real-time. Are you sure you built >> the code in Release mode? >> >> --Radu >> >> >> >> *From:* [email protected] <[email protected]> *On >> Behalf Of *hk >> *Sent:* Friday, September 22, 2023 12:06 PM >> *To:* ProjectChrono <[email protected]> >> *Subject:* [chrono] Execution time for pendulum demo >> >> >> >> Hello, >> >> >> >> I am just starting to use project chrono and I was surprised by the >> execution time for my simple model. >> >> For comparison I ran the demo project test_demo_MBS_pendulum without the >> irrlicht stuff and was wondering if an execution time of ~70 seconds for 30 >> seconds of simulation time is to be expected? Or did I overlook some >> important switch when building the lib or something like that? >> >> I run Chrono 8.0.0 on an Ubuntu laptop with an AMD Ryzen 5 4500U. >> >> >> >> I attached the source code file, which is just the demo file without >> irrlicht visualization. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "ProjectChrono" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/projectchrono/eb7e1b26-fb8b-457a-bda3-d3ecd7087729n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/projectchrono/eb7e1b26-fb8b-457a-bda3-d3ecd7087729n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/6b87aaf9-7ba8-4b5d-8cd3-17f0073411b3n%40googlegroups.com.
