Closed chopraanmol1 closed 5 years ago
Benchmark Script
Benchmark.realtime { 100.times{ CssParser::Parser.new.load_uri!("file:///home/*****/Documents/screen.css") } }
Previous 1.083729805002804
Current 0.5641982720007945
@ndbroadbent can you look into this?
It's been quite a while from when I opened this PR.
@chopraanmol1 Sure this looks good to me, will merge it in. Might ping you if we see any issues related to this change
Tested on ruby 2.3.1 ( with https://dialect.ca/inc/screen.css ) for https://github.com/premailer/css_parser/issues/92
Script
Previous
Current