symforce-org / symforce

Fast symbolic computation, code generation, and nonlinear optimization for robotics
https://symforce.org
Apache License 2.0
1.44k stars 147 forks source link

Faster interactive python workflow #6

Closed aaron-skydio closed 2 years ago

aaron-skydio commented 2 years ago

Need to make this better, and then split out remaining items into additional TODOs

P1: The interactive workflow is too slow. The following 10 rotation chain takes 4.8 seconds to generate

image

2.9 seconds is rendering template, of which 2 seconds is calling black (lol), .8 seconds is calling string join inside of the template, and a small fraction is actually rendering image

image

aaron-skydio commented 2 years ago

Fixed (for now) by the various performance improvements in v0.3.0