Skip to content

update three.js to r135 - #3004

Merged
elalish merged 2 commits into
masterfrom
r135
Nov 30, 2021
Merged

elalish merged 2 commits into
masterfrom
r135

Conversation

@elalish

@elalish elalish commented Nov 30, 2021

Copy link
Copy Markdown
Contributor

Fixes #2915
Fixes #2958

Three.js has fixed the underlying problem that was giving us headaches with v1.9 and its point releases, so ideally pulling this in has fixed our issues as well. However, since many of the problems were only manifesting on particular OS/devices that I don't have handy for testing, it would be great to get some confirmation from the community that this is working. Please test master using https://modelviewer.dev/node_modules/@google/model-viewer/dist/model-viewer.min.js but don't use it for production!

@elalish elalish self-assigned this Nov 30, 2021
@elalish
elalish requested a review from a user November 30, 2021 18:34
@hybridherbst

Copy link
Copy Markdown
Contributor

@lucadalli

lucadalli commented Dec 1, 2021 •

Copy link
Copy Markdown
Contributor

Using the Pen from #2915 to measure performance on Win 10 Chrome:
v1.8: 4,800ms
v1.9: 39,000ms
master: 3,000ms 🎉

Not only does master revert the performance regression in v1.9, but it appears to be consistently faster than v1.8 too.

@elalish

elalish commented Dec 1, 2021

Copy link
Copy Markdown
Contributor Author

Thank you both, that's great to hear! @hybridherbst thanks for the pointer to that three.js change, though I think the more common issue is on our side (multiple texture uploads when the same model is shown multiple times), which I'm working on fixing in #2935, though it currently is causing some render problems I need to work through.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extremely slow performance with specific test file v1.9.0 performance regression

3 participants