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

wikimedia / restbase-mod-table-cassandra / 375
88%
master: 84%

Build:
Build:
LAST BUILD BRANCH: table-creation-cache
DEFAULT BRANCH: master
Ran 03 Mar 2015 04:34PM UTC
Jobs 3
Files 5
Run time 6min
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
375

Pull #79

travis-ci

gwicke
Performance: Optimize convertRows

This is a very hot function as it's applied to all result rows. Also removed
the per-row convertRow method, as it's not actually needed.

Notes:

- using `delete` to remove private attributes is slower than reconstructing
  the entire row
- pre-allocating the Array & then iterating over it is faster than `map`
- there is some potential to be even faster with in-place updates by setting
  private attributes to `undefined`, but that's somewhat ugly as it doesn't
  actually remove those keys from `Object.keys()`.
Pull Request #79: Performance: Optimize convertRows

706 of 803 relevant lines covered (87.92%)

103.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 375.1 03 Mar 2015 04:34PM UTC 0
87.92
Travis Job 375.1
2 375.2 03 Mar 2015 04:38PM UTC 0
87.92
Travis Job 375.2
3 375.3 03 Mar 2015 04:40PM UTC 0
87.92
Travis Job 375.3
Source Files on build 375
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #375
  • Pull Request #79
  • PR Base - cassandra_driver_v2 (#372)
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