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

Khan / aphrodite / 342 / 1
100%
master: 0%

Build:
Build:
LAST BUILD BRANCH: clearer-error-message
DEFAULT BRANCH: master
Ran 13 Mar 2017 07:02PM UTC
Files 16
Run time 1s
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

13 Mar 2017 06:57PM UTC coverage: 99.675% (-0.3%) from 100.0%
342.1

push

travis-ci

lencioni
Use dynamic prefixer on the client side

I noticed that a lot of time is spent running styles through prefixAll.
Although we need to run prefixAll when used on the server, we can be a
bit smarter on the client side of things to improve performance.

Thankfully, since the classNames are generated before prefixing, they
will be stable across server and client even if we use a different
prefixing strategy. This means that we can continue to use prefixAll on
the server and switch out to only prefix the necessary styles on the
client for improved performance.

In my benchmark, this really improves performance in recent Chrome,
bringing my css() runtime down from 1300ms to 900ms.

107 of 110 branches covered (97.27%)

813 of 813 relevant lines covered (100.0%)

12.17 hits per line

Source Files on job 342.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 342
  • Travis Job 342.1
  • 1ab7400f on github
  • Prev Job for on optimize-generateCSSRuleset (#340.1)
  • Next Job for on optimize-generateCSSRuleset (#344.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