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

ReactiveX / rxjs / 8041 / 1
97%
master: 97%

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

01 Feb 2019 08:20PM UTC coverage: 96.805% (-0.1%) from 96.917%
NODE_VER=8 FULL_VALIDATE=true

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%)

5242 of 5415 relevant lines covered (96.81%)

1095.79 hits per line

Source Files on job 8041.1 (NODE_VER=8 FULL_VALIDATE=true)
  • Tree
  • List 0
  • Changed 19
  • Source Changed 2
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 6856
  • Travis Job 8041.1
  • 06f1a251 on github
  • Prev Job for NODE_VER=8 FULL_VALIDATE=true on master (#8036.1)
  • Next Job for NODE_VER=8 FULL_VALIDATE=true on master (#8042.1)
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