-
Notifications
You must be signed in to change notification settings - Fork 8
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
Profiling Performance #92
Comments
Done with Google Chrome DevTools
|
To reproduce the first problem please start the app, wait until the first screen is rendered, then change the binWidth combobox to e.g. 256. I am on the |
a short update on Schematize profiling. The 40 sec waiting time is caused by the huge number of React items, particularly A small improvement in the links mouseover performance: now 1.5 sec instead of 3 sec. This method will also be greatly improved once Virtualized is implemented - it uses the same
With and without this line the behavior is the same. |
Thinking about it, I also realized that we have a choice surrounding chunksProcessed versus chunkURLs. An easy fix for updateSchematicMetadata is ensuring that Also, I'd take a look at the array reference |
…moved an useless instruction for Arrow highlighting, also Dmytro noticed that in #92
It's become clear that rendering is a big performance problem for larger datasets due to the number of elements. The first optimization I'd like to work on is reducing the number of MatrixCells that get generated. For SAR-CoV-2, much of them have 100% occupancy, so a good solution is to use a single SpanCell to span across multiple MatrixCells in the same row. This has the nice benefit of not really interacting with anything else, like compressedRowMapping #94, or Y position or anything like that. I'm targetting:
|
The basic position holds true, but we need to aggregate data for coloring and mouseover. Thomas also pointed out this step is better done in CS, but it would mean yet another data format with sparse data and "Spans" of cells. Timer results loading SARS-CoV-b2bin 1: 14 sec. vs 1 sec. This is an acceptable level of performance if I can just sort out one last X position bug when scrolling. |
Attach file of profiling.
The text was updated successfully, but these errors were encountered: