• Robert Knight's avatar
    Remove unnecessary `requestAnimationFrame` callbacks in `Guest` · 2a4045de
    Robert Knight authored
    Profiling anchoring of large numbers of annotations in Chrome showed
    that there was significant overhead for scheduling and
    executing `requestAnimationFrame` callbacks. In the case of `Guest.anchor`, the
    callback often did nothing (it called `removeHighlights` with an empty
    array).
    
    There isn't a need for this any more AFAICS so just invoke the logic
    synchronously, which is much cheaper.
    2a4045de
Name
Last commit
Last update
..
integration Loading commit data...
adder-test.js Loading commit data...
annotation-counts-test.js Loading commit data...
annotation-sync-test.js Loading commit data...
delegator-test.js Loading commit data...
empty.html Loading commit data...
features-test.js Loading commit data...
guest-test.js Loading commit data...
highlighter-test.js Loading commit data...
notebook-test.js Loading commit data...
pdf-sidebar-test.js Loading commit data...
range-util-test.js Loading commit data...
selection-observer-test.js Loading commit data...
sidebar-test.js Loading commit data...
sidebar-trigger-test.js Loading commit data...
toolbar-test.js Loading commit data...