• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

facebook / react / 12769
86%

Build:
DEFAULT BRANCH: master
Ran 14 Sep 2016 01:30AM UTC
Jobs 1
Files 222
Run time 25s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
12769

push

travis-ci

sebmarkbage
[Fiber] Animation priority work (#7466)

* High priority work

Adds the ability to schedule and perform high priority work. In the
noop renderer, this is exposed using a method `performHighPriWork(fn)`
where the function is executed and all updates in that scope are given
high priority.

To do this, the scheduler keeps track of a default priority level.
A new function `performWithPriority(priority, fn)` changes the default
priority before calling the function, then resets it afterwards.

* Rename overloaded priority terms

"High" and "low" priority are overloaded terms. There are priority
levels called HighPriority and LowPriority. Meanwhile, there are
functions called {perform,schedule}HighPriWork, which corresponds
to requestAnimationFrame, and {perform,schedule}LowPriWork, which
corresponds to requestIdleCallback. But in fact, work that has
HighPriority is meant to be scheduled with requestIdleCallback.
This is super confusing.

To address this, {perform,schedule}HighPriWork has been renamed
to {perform,schedule}AnimationWork, and
{perform,schedule}LowPriWork has been renamed to
{perform,schedule}DeferredWork. HighPriority and LowPriority
remain the same.

* Priority levels merge fix

58 of 58 new or added lines in 4 files covered. (100.0%)

7484 of 8519 relevant lines covered (87.85%)

3148.44 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/renderers/shared/fiber/ReactFiberReconciler.js
5
100.0
src/renderers/shared/fiber/ReactFiberScheduler.js

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/renderers/shared/fiber/ReactFiberScheduler.js
Jobs
ID Job ID Ran Files Coverage
2 12769.2 (TEST_TYPE=test) 14 Sep 2016 01:30AM UTC 0
87.85
Travis Job 12769.2
Source Files on build 12769
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #12769
  • 6144212a on github
  • Prev Build on master (#12765)
  • Next Build on master (#12771)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc