Deck.gl LineLayer vs react-three-fiber Line (drei) with large data. #9692
Unanswered
DmitryAgalakov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What could be the reason for the performance loss in deck.gl compared to three.js? In the provided example, there is a 2.5x difference in the amount of input data. And judging by the screenshots below from DevTools, the difference in GPU memory consumption is 4x.
Threejs (react-three-fiber)
The
points
array contains 55,920 objects of typeTHREE.Vector3
. This component renders 25 curves with 55,920 points each, resulting in a total of 1,398,000 points.Deck.gl
The
points
array contains 559,200 objects of type{start: [number, number], end: [number, number]}
. This represents 10 curves with 55,920 points each.GPU: NVIDIA GeForce GT 710.
Beta Was this translation helpful? Give feedback.
All reactions