New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad performance sass compared to sassc #1161
Comments
What method did you use to install Dart Sass? If you're using NPM, you're getting the compiled-to-JS version, which has an unavoidable performance hit, but if you've installed it through some other method (the standalone release on GitHub, Homebrew, Pub, etc), this is something we could take a look at. |
It's worth noting that 2s versus 200ms is a much larger performance hit than we'd expect, but much of that may be caused by details like how you're running Sass. As @jathak says, to provide you with more help we need a lot more information about how you installed Sass, how you're running it, and what your CSS looks like. |
I've downloaded the release dart-sass-1.32.0-linux-x64.tar.gz #1: time sass --update ../test.scss -I /var/www/cp/xsites_versions/connector_js_mati > res.css The timings of sass are: "user" avg 450-500ms So about x2 performance hit. |
Again, without knowing what your stylesheet looks like, we can't provide much information about why it's taking so much time to compile. |
Hello,
Since the deprecation of libsass I'm looking into transitioning to dart sass. For that I'm looking into performance issues.
I've encountered a case where sassc takes 200ms compared to libsass taking 2s. Is that interesting for you? should I post the files? (there are many files in this use case)
King regards,
Mati
The text was updated successfully, but these errors were encountered: