Skip to content
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

Performance no entities spike #16

Draft
wants to merge 41 commits into
base: master
Choose a base branch
from
Draft

Conversation

pietrop
Copy link
Owner

@pietrop pietrop commented Jan 18, 2021

Is your Pull Request request related to another issue in this repository ?

Describe what the PR does

State whether the PR is ready for review or whether it needs extra work

Additional context

Pietro Passarelli and others added 30 commits March 12, 2020 12:55
added Facebook's Zuck Senate hearing 5 hours example  to the demo app to stress test edge cases
added try catch block around local storage saving to avoid app crashing if it runs out of memory during save in demo app
removed auto sync for performance on longer files, also added sync btn to restore timestamps
added as option to pass in speaker and timecodes labels as attributes to transcript editor with  defaults
… but also save state to reflect in the editor
…act-transcript-editor into performance-no-entities-spike
renamed getWordsBeforeBlock to getWordsBeforeParagraphBlock
Pietro Passarelli added 11 commits March 16, 2020 21:35
added requestIdleCallback before calling updateTimeStamps
replaced with word count see in code comments for more of an explanation
refactored alignement to use native draftJS methods instead converting to and from raw, to improve performance + re introducing scroll sync at paragraph level
they where showing up as NAN, eg if a transcript time started at zero, edge case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant