Repository navigation
A picture the program does not hold yet leaves the JavaScript thread - #13
Merged
Merged
Conversation
- A program that says which pictures it holds in memory (`Ui::Options::holdsAsset`) has any other picture read on the UI's reading thread and handed to the view when it arrives (`View::pictureArrived`). The view lays out and paints without it meanwhile, so a slow disk no longer holds the JavaScript thread. Without the option the view reads pictures as before. `docs/integrating.md` describes it. - A posted task's microtask drain is named `microtasks` in the turn's callback, so React's render of what an input's handlers changed reads apart from the view's own layout and hit test. - A turn names its busiest step: the one whose runs add up to the most of it, with their time and how many there were. - A row aligned on baselines aligns texts on their first line's baseline, rather than on their bottom edges. - Kit: `Conveyor` moves marks steadily along a run, driven by the host so no React render happens per frame; a stat list's figures are set in `mono-11-figures-solid`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(
Ui::Options::holdsAsset) has any other picture read on the UI's readingthread and handed to the view when it arrives (
View::pictureArrived). Theview lays out and paints without it meanwhile, so a slow disk no longer
holds the JavaScript thread. Without the option the view reads pictures as
before.
docs/integrating.mddescribes it.microtasksin the turn'scallback, so React's render of what an input's handlers changed reads apart
from the view's own layout and hit test.
with their time and how many there were.
rather than on their bottom edges.
Conveyormoves marks steadily along a run, driven by the host so noReact render happens per frame; a stat list's figures are set in
mono-11-figures-solid.Checked in a clone of this branch:
deno install --frozen,deno fmt --check,deno lint,deno task checkanddeno task test(366 passed). The C++ suites run in this repository's workflow.