You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is for #6538. This uses the getHoveredEditor() function from@SAPlayer's pull request #6571, so this is a replacement of that PR.
Details:
only processes mousemove event in requestAnimationFrame()
defers all processing until after setTimeout() delay
exception: when Quick View is already being displayed, then processing is immediate
Results:
I did some simple profiling on Win7 using the src/extensions/default/QuickView/unittest-files/test.css file and Process Explorer. I moved mouse over the css rules in that file at an even pace -- so that only mouse processing was executed (i.e. didn't stop long enough to display Quick View).
Before: cpu averages ~2%
After: cpu averages ~1%
cc:@peterflynn,@dangoor
Note: this is a squashed version of PR #6697 (which was used for testing a Travis problem, so had several unnecessary commits)
Issue by redmunds
Friday May 30, 2014 at 17:56 GMT
Originally opened as adobe/brackets#7988
This is for #6538. This uses the
getHoveredEditor()
function from@
SAPlayer's pull request #6571, so this is a replacement of that PR.Details:
requestAnimationFrame()
setTimeout()
delayResults:
I did some simple profiling on Win7 using the src/extensions/default/QuickView/unittest-files/test.css file and Process Explorer. I moved mouse over the css rules in that file at an even pace -- so that only mouse processing was executed (i.e. didn't stop long enough to display Quick View).
cc:
@
peterflynn,@
dangoorNote: this is a squashed version of PR #6697 (which was used for testing a Travis problem, so had several unnecessary commits)
redmunds included the following code: https://github.com/adobe/brackets/pull/7988/commits
The text was updated successfully, but these errors were encountered: