Skip to content
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

carto: RasterLayer fix perf issue caused by spurious data changes #9218

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

zbigg
Copy link
Collaborator

@zbigg zbigg commented Oct 18, 2024

Background

Fix performance regression in Carto's RasterLayer caused by unnecessary buffer updates.

RasterLayer wraps data passed to ColumnLayer in temporary object and by default this was detected as data change in all ColumnLayers on each layer update (like opacity).

Change List

  • carto: RasterLayer doesn't update buffers on each render

@zbigg zbigg force-pushed the zbigg/carto-raster-layer-data-wrapper-comparator branch from 90d2b08 to 2766bf1 Compare October 18, 2024 12:28
@coveralls
Copy link

coveralls commented Oct 18, 2024

Coverage Status

coverage: 91.638% (-0.005%) from 91.643%
when pulling 2766bf1 on zbigg/carto-raster-layer-data-wrapper-comparator
into 065816e on master.

Copy link
Collaborator

@felixpalmer felixpalmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@zbigg zbigg merged commit c7f1a66 into master Oct 21, 2024
4 checks passed
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.

3 participants