Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: sky/specs/runloop.md

Issue 846523003: Specs: try to import elements from module.exports as well as module.exports.* (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/specs/modules.md ('k') | sky/specs/style.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Sky's Run Loop 1 Sky's Run Loop
2 ============== 2 ==============
3 3
4 Sky's run loop consists of running the following, at 120Hz (each loop 4 Sky's run loop consists of running the following, at 120Hz (each loop
5 takes 8.333ms): 5 takes 8.333ms):
6 6
7 1. Send scroll and resize events if necessary, limiting each handler 7 1. Send scroll and resize events if necessary, limiting each handler
8 to 1ms, and limiting the total time spent on these handlers to 1ms. 8 to 1ms, and limiting the total time spent on these handlers to 1ms.
9 9
10 2. Fire animation frame callbacks for up to 1ms. Each callback can run 10 2. Fire animation frame callbacks for up to 1ms. Each callback can run
(...skipping 22 matching lines...) Expand all
33 exception. While there are no pending tasks, sleep. 33 exception. While there are no pending tasks, sleep.
34 Tasks are things like: 34 Tasks are things like:
35 - timers 35 - timers
36 - updating the DOM in response to parsing 36 - updating the DOM in response to parsing
37 - input events 37 - input events
38 - mojo callbacks 38 - mojo callbacks
39 39
40 TODO(ianh): Update the timings above to have some relationship to 40 TODO(ianh): Update the timings above to have some relationship to
41 reality. 41 reality.
42 42
43 TODO(ianh): Define an API so that the application can adjust the
44 budgets.
45
43 TODO(ianh): Define how scroll notifications get sent, or decide to 46 TODO(ianh): Define how scroll notifications get sent, or decide to
44 drop them entirely from this model. 47 drop them entirely from this model.
OLDNEW
« no previous file with comments | « sky/specs/modules.md ('k') | sky/specs/style.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698