-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
add benchmarks for creating sourcemaps #32
add benchmarks for creating sourcemaps #32
Conversation
@@ -31,7 +31,7 @@ gulp.task('bootstrap', async () => { | |||
}) | |||
}) | |||
|
|||
for (let name of ['preprocessors', 'parsers', 'prefixers', 'tokenizers', 'linters']) { | |||
for (let name of ['preprocessors', 'parsers', 'prefixers', 'tokenizers', 'linters', 'sourcemaps']) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you run Prettier (in VSCode or by installing it globally)?
We have an 80 columns limit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried with the VSCode extension and by installing globally but I couldn't get it to wrap these lines.
Is it possible that you have a global/default config for prettier?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have config in package.json
.
Don’t worry, I will fix it after merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you 🙇
Sourcemap generation is not currently benchmarked but this is the slowest part of PostCSS.
Because it is a blindspot it is also harder to improve and to prevent regressions.