openstax / css-manipulate

Do more with CSS!
https://jsfiddle.net/philschatz/hjk2z4af/
5 stars 0 forks source link

use headless chrome instead of jsdom #3

Closed philschatz closed 6 years ago

philschatz commented 6 years ago

This results in a significant performance improvement.

A 6 MB HTML file used to take 10+ minutes and now it only takes 2 on a Macbook Air

TODO

codecov[bot] commented 6 years ago

Codecov Report

Merging #3 into master will decrease coverage by 0.15%. The diff coverage is 83.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
- Coverage   88.39%   88.23%   -0.16%     
==========================================
  Files          45       73      +28     
  Lines        1611     1981     +370     
  Branches      292      353      +61     
==========================================
+ Hits         1424     1748     +324     
- Misses        187      233      +46
Impacted Files Coverage Δ
test/unit/for-each.in.xhtml 100% <ø> (ø)
test/example/glossary.in.xhtml 100% <ø> (ø)
test/unit/has.in.xhtml 100% <ø> (ø)
test/example/exercise-numbering.in.xhtml 100% <ø> (ø)
test/unit/inside.in.xhtml 100% <ø> (ø)
test/unit/ancestor-context.in.xhtml 100% <ø> (ø)
test/example/exercise-numbering-advanced.in.xhtml 100% <ø> (ø)
test/unit/class.in.xhtml 100% <ø> (ø)
test/unit/functions.in.xhtml 100% <ø> (ø)
test/unit/namespace-attributes.in.xhtml 100% <ø> (ø)
... and 60 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4417130...feba1f8. Read the comment docs.