-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we improve performance further? #243
Comments
Also note that we need to do another round of QA performance testing with
|
In AncillaryTool, each of the y Properties (yOriginalProperty, et.al.) is actually 3 DerivedProperties. See |
In #233 (comment), I rewrote AncillaryTool and noted:
|
#259 reminded me that the canvas version of bamboo classes have better performance. We should consider switching to them. That's what I used in fourier-making-waves. |
@veillette and I discussed during weekly pairing. I'm going to experiment with using the Canvas versions of bamboo classes. We probably only need to do this for CanvasLinePlot. There currently is no Canvas implementation for ScatterPlot, but it's not much performance burden. |
The first problem I've encountered is that the APIs for LinePlot and CanvasLinePlot are not the same. And CanvasLinePlot does not support EDIT: I added |
…use in Calculus Grapher, phetsims/calculus-grapher#243
I spent ~30 minutes investigating what it would take to convert uses of LinePlot to CanvasLinePlot. Summary:
So it's at least a couple of hours to convert to Canvas. I'm inclined to do the conversion, since Canvas had such better performance in Fourier. But let's defer the decision until we get performance results from phetsims/qa#898. |
A lot of redundant calls to |
Closing, and ready for sign-off in #266. |
phetsims/qa#898 was a performance test by QA.
In phetsims/qa#898 (comment), @liammulh reported:
In phetsims/qa#898 (comment), @stemilymill reported:
The statement "I would still consider it usable" for the worst case (Lab screen) is encouraging. But we should investigate whether there's anywhere else that we might improve performance. Assigning to @veillette and myself for discussion.
The text was updated successfully, but these errors were encountered: