Intelligent heatmap#1063
Conversation
Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
…eHiddenCellSets Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
|
New Issues (1)Checkmarx found the following issues in this Pull Request
Use @Checkmarx to interact with Checkmarx PR Assistant. |
📦 Next.js Bundle Analysis for uiThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
| Page | Size (compressed) |
|---|---|
global |
685.37 KB (🟡 +506 B) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
Nine Pages Changed Size
The following pages changed size from the code in this PR compared to its base branch:
| Page | Size (compressed) | First Load |
|---|---|---|
/experiments/[experimentId]/data-exploration |
1.47 MB (🟡 +1.77 KB) |
2.14 MB |
/experiments/[experimentId]/data-processing |
490.42 KB (🟢 -194 B) |
1.15 MB |
/experiments/[experimentId]/plots-and-tables/dot-plot |
447.62 KB (🟡 +1.82 KB) |
1.11 MB |
/experiments/[experimentId]/plots-and-tables/embedding-categorical |
446.18 KB (🟢 -160 B) |
1.11 MB |
/experiments/[experimentId]/plots-and-tables/embedding-continuous |
468.98 KB (🟡 +2.35 KB) |
1.13 MB |
/experiments/[experimentId]/plots-and-tables/marker-heatmap |
536.89 KB (🟡 +924 B) |
1.19 MB |
/experiments/[experimentId]/plots-and-tables/spatial-categorical |
895.48 KB (🟡 +1.77 KB) |
1.54 MB |
/experiments/[experimentId]/plots-and-tables/spatial-feature |
898.07 KB (🟡 +2.52 KB) |
1.55 MB |
/experiments/[experimentId]/plots-and-tables/violin |
470.25 KB (🟡 +2.51 KB) |
1.13 MB |
Details
Only the gzipped size is provided here based on an expert tip.
First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.
…n it Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
Signed-off-by: Alex Pickering <alexvpickering@gmail.com>
📦 Next.js Bundle Analysis for uiThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
| Page | Size (compressed) |
|---|---|
global |
685.37 KB (🟡 +506 B) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
Nine Pages Changed Size
The following pages changed size from the code in this PR compared to its base branch:
| Page | Size (compressed) | First Load |
|---|---|---|
/experiments/[experimentId]/data-exploration |
1.47 MB (🟡 +1.77 KB) |
2.14 MB |
/experiments/[experimentId]/data-processing |
490.42 KB (🟢 -194 B) |
1.15 MB |
/experiments/[experimentId]/plots-and-tables/dot-plot |
447.62 KB (🟡 +1.82 KB) |
1.11 MB |
/experiments/[experimentId]/plots-and-tables/embedding-categorical |
446.18 KB (🟢 -160 B) |
1.11 MB |
/experiments/[experimentId]/plots-and-tables/embedding-continuous |
468.98 KB (🟡 +2.35 KB) |
1.13 MB |
/experiments/[experimentId]/plots-and-tables/marker-heatmap |
536.89 KB (🟡 +924 B) |
1.19 MB |
/experiments/[experimentId]/plots-and-tables/spatial-categorical |
895.48 KB (🟡 +1.77 KB) |
1.54 MB |
/experiments/[experimentId]/plots-and-tables/spatial-feature |
898.07 KB (🟡 +2.52 KB) |
1.55 MB |
/experiments/[experimentId]/plots-and-tables/violin |
470.25 KB (🟡 +2.51 KB) |
1.13 MB |
Details
Only the gzipped size is provided here based on an expert tip.
First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.


Description
implement
downsampleSettingsfor heatmap expression to enable scalable but fast heatmap rendering. Uses bucketing approach (~1000cells per bucket formed bygroupedTracks) for most large datasets. If sum of bucket sizes is >50K it will instead directly determine ~5K cells needed for heatmap and run an expression work request for just required cells.Details
URL to issue
N/A
Link to staging deployment URL (or set N/A)
N/A
Links to any PRs or resources related to this PR
Integration test branch
master
Merge checklist
Your changes will be ready for merging after all of the steps below have been completed.
Code updates
Have best practices and ongoing refactors being observed in this PR
Manual/unit testing
Integration testing
You must check the box below to run integration tests on the latest commit on your PR branch.
Integration tests have to pass before the PR can be merged. Without checking the box, your PR
will not pass the required status checks for merging.
Documentation updates
Optional