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

Khan / aphrodite / 486
0%

Build:
DEFAULT BRANCH: master
Ran 03 Mar 2018 07:11PM UTC
Jobs 3
Files 8
Run time 33s
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
486

push

travis-ci

lencioni
Remove separate iteration for summing length of style defs

I've been profiling and noticed that injectAndGetClassName is a very hot
path so I've been thinking about ways to make it more efficient. I
noticed that we were iterating over things twice unnecessarily, so I've
moved a reduce function inline with our original iteration. This
improves my naive benchmark from ~2.94s to ~2.77s.

While I was at it, I removed an unnecessary object creation here, to hlp
improve efficiency and reduce the memory footprint.

I think it might be possible to further improve perf here by converting
the recursive function into an interative one, which I'm going to dig
into next.

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 486.1 03 Mar 2018 07:11PM UTC 0
0.0
Travis Job 486.1
2 486.2 03 Mar 2018 07:11PM UTC 0
0.0
Travis Job 486.2
3 486.3 03 Mar 2018 07:11PM UTC 0
0.0
Travis Job 486.3
Source Files on build 486
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #486
  • 1af3bb25 on github
  • Prev Build on master (#483)
  • Next Build on master (#489)
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