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

Khan / aphrodite / 342
100%
master: 0%

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

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%)

31 of 31 new or added lines in 3 files covered. (100.0%)

813 of 813 relevant lines covered (100.0%)

12.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 342.1 13 Mar 2017 07:02PM UTC 0
99.67
Travis Job 342.1
Source Files on build 342
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #342
  • 1ab7400f on github
  • Prev Build on optimize-generateCSSRuleset (#340)
  • Next Build on optimize-generateCSSRuleset (#344)
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