rendering time 38 ms
🖐 the bottom line is that the structure of the application right now is not optimal at all: the lookup done on the background thread trigger multiple refreshes, which are more expensive then the lookup itself.
Removing chunks
if the application performs all the lookup in one go, the timing is the following:
Frequency lookup 55 ms
Merge 62 ms (*)
Sort 2ms
Update 902 ms
list clone 1 ms
state update 900 ms → this includes the actual creation of the UI list and render
Improve the performances of the application. In order to display a 2245 SNPs the application takes 45 seconds, the time should be reduced.