Skip to content

Improve load performance for large datasets #14

@ryanfb

Description

@ryanfb

After profiling in Chrome, it looks like a large portion of time is spent in calls to .filter, particularly for cite_collection_contains_urn. Perhaps a better approach would be to build up a hash once which we can check directly for every value?

The other large call chain is filter > add_translations > set_cts_text > set_passage > add_urn_li > add_valid_urns > build_cts_ui > success.

Other large hits are in Layout (8s), and Recalculate Style (6s).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions