Skip to content

Conversation

wesm
Copy link
Contributor

@wesm wesm commented Aug 19, 2025

These are some changes to make profile rendering a little smoother. Before we were batching 4 profiles at a time, but this changes to 1-at-a-time for over 1 million rows (below that they the in-window profiles are requested in a single big batch):

I also noticed that the background task queue in Python was using 5 x # CPUs by default and for compute heavy profile computation this can result in inefficient context switching when computing many profiles. Now the number of workers is equal to the number of logical CPU cores.

Before:

Screen.Recording.2025-08-19.at.16.31.58.mov

After:

Screen.Recording.2025-08-19.at.16.30.45.mov

Release Notes

New Features

  • Column profiles in the data explorer render more smoothly and incrementally for tables with many rows.

Bug Fixes

  • N/A

QA Notes

Check data frames with at least 10 million rows to observe the sparkline pop-in performance.

@:data-explorer

@wesm wesm requested a review from softwarenerd August 19, 2025 14:43
Copy link

github-actions bot commented Aug 19, 2025

E2E Tests 🚀
This PR will run tests tagged with: @:critical @:data-explorer

readme  valid tags

@wesm wesm force-pushed the feature/profiles-one-at-a-time branch from b54b7ca to 268059d Compare August 19, 2025 14:44
@wesm wesm requested a review from dhruvisompura August 20, 2025 14:14
@wesm wesm force-pushed the feature/profiles-one-at-a-time branch from 268059d to 2f55201 Compare August 26, 2025 16:58
@wesm
Copy link
Contributor Author

wesm commented Aug 27, 2025

I'll go ahead and merge this — we can continue to iterate on the details as we get feedback from users working with large datasets.

@wesm wesm merged commit 9117c91 into main Aug 27, 2025
28 checks passed
@wesm wesm deleted the feature/profiles-one-at-a-time branch August 27, 2025 15:41
@github-actions github-actions bot locked and limited conversation to collaborators Aug 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant