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

ReactiveX / rxjs / 8041
97%

Build:
DEFAULT BRANCH: master
Ran 01 Feb 2019 08:29PM UTC
Jobs 1
Files 190
Run time 32s
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
8041

push

travis-ci

benlesh
perf(Subscription): improve parent management (#4526)

Merge the `_parent` and `_parents` fields on the `Subscription` class
into a single `_parentOrParents` field, which can hold either `null`
(in case of no parents), a `Subscription` instance (in case of a
single parent), or an array of `Subscription`s (in case of multiple
parents). This not only shrinks the size of `Subscription` (and
subclass) instances, but more importantly reduces the number of
megamorphic property access sites in the hot `Subscription` methods,
especially in `unsubscribe()` and `add()`.

Also inline the `Subscription#_addParent()` method into
`Subscription#add()`, as it's the only call site anyways and
this removes another hot megamorphic `LoadIC` that was only needed
to lookup `subscription._addParent` in the call site.

Finally remove the `hasErrors` variable from `unsubscribe()` method
and instead just check `errors` variable directly.

1711 of 2049 branches covered (83.5%)

29 of 29 new or added lines in 2 files covered. (100.0%)

5242 of 5415 relevant lines covered (96.81%)

1095.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8041.1 (NODE_VER=8 FULL_VALIDATE=true) 01 Feb 2019 08:29PM UTC 0
96.81
Travis Job 8041.1
Source Files on build 8041
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8041
  • 06f1a251 on github
  • Prev Build on master (#8036)
  • Next Build on master (#8042)
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

© 2026 Coveralls, Inc