compile speed, latests alpha, slower?

59 views
Skip to first unread message

rdougan

unread,
Dec 13, 2010, 7:21:38 AM12/13/10
to Compass Development
It seems compiling my SCSS is now quite a bit slower with the latest
Compass/SASS --pre versions. It was almost instant before, now it
takes 3-4 seconds.

Is this a problem for everyone or just my project?

Brandon Mathis

unread,
Dec 13, 2010, 11:03:22 AM12/13/10
to compas...@googlegroups.com
I'm seeing this too. Same stylesheets, but much slower.

- Brandon Mathis (via iPhone)

> --
> You received this message because you are subscribed to the Google Groups "Compass Development" group.
> To post to this group, send email to compas...@googlegroups.com.
> To unsubscribe from this group, send email to compass-devs...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/compass-devs?hl=en.
>

Chris Eppstein

unread,
Dec 13, 2010, 12:09:01 PM12/13/10
to compas...@googlegroups.com, compas...@googlegroups.com
I'm seeing it too and it's why there's a --time option in the latest release. Haven't gotten around to debugging the root cause(s) yet. If you have an inkling about what's up, do ping me.

Hunt & pecked on my iPhone... Sorry if it's brief!

Nathan Weizenbaum

unread,
Dec 13, 2010, 3:26:56 PM12/13/10
to compas...@googlegroups.com
Does this happen with just Sass (no Compass)? Can you produce a single-file stylesheet that's much slower than it used to be? If so, I can probably dig in and figure out what's taking so long.

rdougan

unread,
Dec 16, 2010, 4:31:48 PM12/16/10
to Compass Development
I created a brand new Compass project and it compiles pretty fast.
Haven't noticed anything that reverts the slowness as of yet.

Robert-Dougans-MacBook-Pro:sass Robert$ compass compile --time
identical ../css/ext.css (4.418s)
identical ../css/generator.css (4.659s)

On Dec 13, 8:26 pm, Nathan Weizenbaum <nex...@gmail.com> wrote:
> Does this happen with just Sass (no Compass)? Can you produce a single-file
> stylesheet that's much slower than it used to be? If so, I can probably dig
> in and figure out what's taking so long.
>
>
>
>
>
>
>
> On Mon, Dec 13, 2010 at 9:09 AM, Chris Eppstein <ch...@eppsteins.net> wrote:
> > I'm seeing it too and it's why there's a --time option in the latest
> > release. Haven't gotten around to debugging the root cause(s) yet. If you
> > have an inkling about what's up, do ping me.
>
> > Hunt & pecked on my iPhone... Sorry if it's brief!
>
> > On Dec 13, 2010, at 8:03 AM, Brandon Mathis <imat...@me.com> wrote:
>
> > > I'm seeing this too. Same stylesheets, but much slower.
>
> > > - Brandon Mathis (via iPhone)
>
> > > On Dec 13, 2010, at 6:21, rdougan <dougan.rob...@googlemail.com> wrote:
>
> > >> It seems compiling my SCSS is now quite a bit slower with the latest
> > >> Compass/SASS --pre versions. It was almost instant before, now it
> > >> takes 3-4 seconds.
>
> > >> Is this a problem for everyone or just my project?
>
> > >> --
> > >> You received this message because you are subscribed to the Google
> > Groups "Compass Development" group.
> > >> To post to this group, send email to compas...@googlegroups.com.
> > >> To unsubscribe from this group, send email to
> > compass-devs...@googlegroups.com<compass-devs%2Bunsubscribe@google groups.com>
> > .
> > >> For more options, visit this group at
> >http://groups.google.com/group/compass-devs?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "Compass Development" group.
> > > To post to this group, send email to compas...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > compass-devs...@googlegroups.com<compass-devs%2Bunsubscribe@google groups.com>
> > .
> > > For more options, visit this group at
> >http://groups.google.com/group/compass-devs?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Compass Development" group.
> > To post to this group, send email to compas...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > compass-devs...@googlegroups.com<compass-devs%2Bunsubscribe@google groups.com>
> > .

Nathan Weizenbaum

unread,
Dec 16, 2010, 4:45:15 PM12/16/10
to compass-devs
Do the CSS files remain slow if you remove all Compass imports and mixins?

To unsubscribe from this group, send email to compass-devs...@googlegroups.com.

rdougan

unread,
Dec 16, 2010, 4:52:11 PM12/16/10
to Compass Development
I had to comment out 80% of my code because it heavily relies on
Compass, but before importing "compass/css3", compile time was 2.7s,
after was .3s...

On Dec 16, 9:45 pm, Nathan Weizenbaum <nex...@gmail.com> wrote:
> Do the CSS files remain slow if you remove all Compass imports and mixins?
>

Nathan Weizenbaum

unread,
Dec 17, 2010, 12:28:48 PM12/17/10
to compass-devs
I'm not able to reproduce this locally. Can you create a minimal app or collection of stylesheets that demonstrates the issue and send that to me?

Also, what versions precisely of Sass/Compass are you using?

To unsubscribe from this group, send email to compass-devs...@googlegroups.com.

Robert Dougan

unread,
Dec 17, 2010, 12:54:27 PM12/17/10
to compas...@googlegroups.com
Sent you an email regarding it as the code cannot be put onto a public group.

Compass version is alpha 4.
Sass version is alpha 200.

Nathan Weizenbaum

unread,
Dec 17, 2010, 1:03:32 PM12/17/10
to compass-devs
Okay, I'm getting compile times around 2.5 seconds without caching. Did you have caching enabled? Does this seem like the sort of too-long time you've been seeing?

Robert Dougan

unread,
Dec 17, 2010, 1:06:49 PM12/17/10
to compas...@googlegroups.com
Not sure about caching. Never enabled/disabled it before?

Compile time for me when I make a change (add a new line with nothing in it):

Robert-Dougans-MacBook-Pro:resources Robert$ compass compile sass/ --time
identical sass/../css/ext.css (4.134s)
identical sass/../css/generator.css (4.597s)
Compilation took 8.777s

Before it was done under a second. Didn't even notice it was doing it, and nothing has changed with the code.

Nathan Weizenbaum

unread,
Dec 17, 2010, 1:11:57 PM12/17/10
to compass-devs
Okay, I've tweaked my command and now I'm seeing roughly similar times. I'll check it out.
Reply all
Reply to author
Forward
0 new messages