Skip to content
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

Performance Issues #15

Open
jlukic opened this issue Jan 7, 2015 · 3 comments
Open

Performance Issues #15

jlukic opened this issue Jan 7, 2015 · 3 comments

Comments

@jlukic
Copy link

jlukic commented Jan 7, 2015

I'm seeing drastic performance difference when using gulp-concat-css over gulp-concat

  • 15-30s to build 600kb file on quad-core versus with gulp-concat-css
  • 1-2s with gulp-concat

I know rework is necessary, but perhaps there's some room for performance gains?
Semantic-Org/Semantic-UI#1464

@mariocasciaro
Copy link
Owner

May I know some more details about your sources? How many files are you concatenating? What's the typical dependency depth?

@jlukic
Copy link
Author

jlukic commented Jan 16, 2015

  • Concatenating about 50 css files
  • Not inlining any @import rules
  • Moving a single remote @import to the top of the css.
  return gulp.src(output.uncompressed + '**/' + componentGlob + config.ignoredFiles + '.css')
    .pipe(plumber())
    .pipe(concatCSS('semantic.css'))
      .pipe(gulp.dest(output.packaged))
      .pipe(print(log.created))
  ;

@mariocasciaro
Copy link
Owner

Version 1.2.0 includes a performance fix (20% improvement). Please, let me know what's the improvement for you project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants