mithi / hexapod

Blazing fast hexapod robot simulator for the web.
https://hexapod.netlify.app
Apache License 2.0
579 stars 70 forks source link

Performance Issues #130

Closed mithi closed 4 years ago

mithi commented 4 years ago

Performance is still not great, largely due to the huge overhead made by the Plotly library

There are some micro-optimizations that we can still do like lazy loading and memoization, using pure components, and preventing needless rerenderings, but these really won't make a difference unless we somehow address the overhead made by Plotly library.

Will need to benchmark it with: https://github.com/mithi/hexapod/pull/106 and see what we can incorporate

Loading the landing page (Includes plot and animated gif)

Screen Shot 2020-07-21 at 5 48 02 AM Screen Shot 2020-07-21 at 5 49 32 AM Screen Shot 2020-07-21 at 5 49 10 AM Screen Shot 2020-07-21 at 5 48 33 AM Screen Shot 2020-07-21 at 5 48 50 AM
mithi commented 4 years ago

Loading forward kinematics page

Screen Shot 2020-07-21 at 5 50 52 AM Screen Shot 2020-07-21 at 5 51 10 AM Screen Shot 2020-07-21 at 5 51 22 AM Screen Shot 2020-07-21 at 5 51 31 AM Screen Shot 2020-07-21 at 5 51 54 AM
mithi commented 4 years ago
Screen Shot 2020-07-26 at 11 24 57 PM Screen Shot 2020-07-26 at 11 27 57 PM