Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Is there a function for capturing elapsed time?
dave_cowden
Member, Developers Posts: 475 ✭✭✭
Im doing some performance tuning, and i'd like to capture elapsed time -- ideally in milliseconds or whatever. is there a way to do that?
Quick searches in std for "time", "elapsed", getTime(), getDate(), etc didnt reveal anything useful.
Quick searches in std for "time", "elapsed", getTime(), getDate(), etc didnt reveal anything useful.
0
Best Answer
-
ilya_baran Onshape Employees, Developers, HDM Posts: 1,211There is not such a function -- profiling capabilities are not yet there. Once they are there, they wouldn't be in the form of such functions (because time functions are not deterministic) -- we would either provide timers that let you print elapsed time to the console or some interactive tooling (or both). I'll see what I can do to get some basic capability out soon.Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc5
Answers