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

Increased Precompilation time for assets #752

Open
vs37559 opened this issue Jul 28, 2022 · 0 comments
Open

Increased Precompilation time for assets #752

vs37559 opened this issue Jul 28, 2022 · 0 comments

Comments

@vs37559
Copy link

vs37559 commented Jul 28, 2022

Expected behavior

Time taken by rails assets:precompile should be lower or similar to what was with sprockets 2.

Actual behavior

Task takes nearly same amount of time for two consecutive task runs.
With Sprockets 2

First pre-compile run: ~8mins
Second pre-compile run: ~2mins (No asset changed)

With Sprockets 3 & 4

First pre-compile run: ~8mins
Second pre-compile run: ~8mins (No asset changed)

System configuration

  • Sprockets version: 4.1.1
  • Rails version: 6.1.6
  • Ruby version: 3.0.2
  • Coffee-rails: 5.0.0
  • haml_coffee_assets: 1.20.0
  • Sassc: 2.4.0

Not able to provide example app as I am upgrading my project parallely upgrading my project and am not sure what is causing this issue. It'd be a great help if any contributor can look into this!

@vs37559 vs37559 changed the title INcreased Precompilation time for assets Increased Precompilation time for assets Jul 28, 2022
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

1 participant