Page MenuHomePhabricator

Slow formatting of chapter list in big books
Closed, ResolvedPublic

Description

Author: djdeepalijain811

Description:
In very big books(~20,000 sections) formatting of chapterlist for display on book landing page, json editor and navbar is done in O(n) time by traversing through the whole sections array which is not very efficient. Even after caching, page loading takes >15 sec. for first time loading. We want it to be something under 1 sec.


Version: unspecified
Severity: normal

Details

Reference
bz65746

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:22 AM
bzimport set Reference to bz65746.