• Robert Knight's avatar
    Coalesce anchoring status updates · d0c1e748
    Robert Knight authored
    Profiling the test case in #556 showed significant overhead from the
    processing involved in or triggered by each `UPDATE_ANCHOR_STATUS`
    action handled by the store. Previously one `UPDATE_ANCHOR_STATUS`
    action was dispatched for each annotation whose anchoring status
    changed.
    
    Improve the situation by making the `UPDATE_ANCHOR_STATUS` action handle
    updates for multiple annotations at once and modifying the `frameSync`
    service to coalesce anchoring status updates from the host page into
    a smaller number of `UPDATE_ANCHOR_STATUS` actions.
    
    Fixes #556
    d0c1e748
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
images Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...
requirements-dev.in Loading commit data...
yarn.lock Loading commit data...