Open tonydisera opened 2 months ago
Get rid of genes.json, a client-side json object that was used to search genes with type-ahead. This json object and its derived javascript objects (allKnownGenes, allKnownGeneNames) was consuming huge amounts of heap space. By using async requests instead of an in-memory lookup, the heap size was reduced 3 fold when app first loaded (reduced from 188M to 56M).
Performance stats:
Task v4.10 v4.11
-------------------------- ------ -----
At launch. 188M 60M
Demo data analyzed: 205M 86M
ACMG 81 genes analyzed 228M 109M