Closed
Conversation
c0f512a to
af00a3c
Compare
tadast
reviewed
Jun 17, 2024
Comment on lines
+38
to
+40
| if (this.nextQuery == 0 && this.nextHit == 0 && this.nextHSP == 0) { | ||
| this.affixSidebar(); | ||
| } |
Collaborator
There was a problem hiding this comment.
Should this be a responsibility of report.js? I think now with the custom hits batch-rendering logic separated, we should be able to affix the sidebar one in report.js without any of the batch-rendering related checks or am I missing something?
Contributor
Author
There was a problem hiding this comment.
@tadast from my perspective it's better this way
in report js, we already have 2 checks
- if a warning present
- if results available
Comment on lines
+22
to
+24
| <div className='histogram-container'> | ||
| <Histogram query="evalue" name="E-Value Distribution" color={colors[0]} /> | ||
| </div> |
Collaborator
There was a problem hiding this comment.
Would it be possible to clean up this PR to only inlcude the performance fix without the Histogram changes?
Contributor
Author
There was a problem hiding this comment.
can we keep it?
this PR is required to fix performance before we merge histogram.
de40021 to
ef8c828
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Context
When I created the histogram, I found that the diagram (circos and histogram) flickered for up to 4 minutes or more, when it flickers, I can't inspect the diagram because it keeps rendering.
Screen.Recording.2024-06-12.at.13.35.31.mov
Solution
In this PR, I separated the diagram and results rendering so that the diagram will only render once.
Screen.Recording.2024-06-12.at.13.39.46.mov