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

catmaid / CATMAID / 5023 / 2
48%
master: 45%

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

22 Jul 2018 10:30PM UTC coverage: 48.005% (+0.09%) from 47.917%
5023.2

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

7362 of 15336 relevant lines covered (48.0%)

0.48 hits per line

Source Files on job 5023.2
  • Tree
  • List 0
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4667
  • Travis Job 5023.2
  • 2bada10a on github
  • Prev Job for on features/use-map-in-overlay (#5014.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