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

catmaid / CATMAID / 5023
48%
master: 45%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 22 Jul 2018 10:39PM UTC
Jobs 5
Files 93
Run time 21min
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
5023

Pull #1772

travis-ci

web-flow
Tracing overlay: change type of internal `nodes` field to Map

This replaces the data type of the internal node directory from Object
to Map. This enforces proper typing of node IDs when referencing into
the dictionary, which will make ID types more predictable and reduces
other type enforcing code like Object.keys(this.nodes).map(Number).

Iterating maps is in many scenarios faster than itering objects and some
useful helper fields and methods like ".size" are provided. This doesn't
seem to make a big difference though for common node query sizes. For
~20,000 nodes, using the Map implementation saves  about ~20ms in
average. Memory use however is much better with the Map based
implementation. It seems that the Tracing Overlay needs about one third
less memory when using the Map implementation and garbage collection
happens more quickly.
Pull Request #1772: Tracing overlay: change type of internal `nodes` field to Map

7375 of 15336 relevant lines covered (48.09%)

2.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5023.1 22 Jul 2018 10:39PM UTC 0
47.92
Travis Job 5023.1
2 5023.2 22 Jul 2018 10:39PM UTC 0
48.0
Travis Job 5023.2
3 5023.3 22 Jul 2018 10:39PM UTC 0
48.0
Travis Job 5023.3
4 5023.4 22 Jul 2018 10:56PM UTC 0
46.45
Travis Job 5023.4
5 5023.5 22 Jul 2018 11:00PM UTC 0
46.5
Travis Job 5023.5
Source Files on build 5023
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5023
  • Pull Request #1772
  • PR Base - dev (#5014)
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