#30 new
Chris Griego

Blender is Slow

Reported by Chris Griego | July 22nd, 2008 @ 01:36 PM | in 1.2

The JavaScript-only blending of IAN can easily take 10s while skipping many files. That's a long time to lock up TextMate while waiting for for something to something to happen. Some profiling and benchmarking would help uncover the slow parts.

YUI Compressor might be to blame, which makes the do-not-compress option even more useful for development environments.

Comments and changes to this ticket

  • Chris Griego

    Chris Griego August 11th, 2008 @ 11:28 AM

    • → Milestone changed from “” to “1.1”
    • → Assigned user cleared.

    Does appear that YUI is to blame.

    
    Boldpx (1 css, 2 js)
    * --min yui  = 5.96772s
    * --min none = 0.00479s
    
    IAN prototype (18 js)
    * --min yui  = 12.66291s
    * --min none =  0.38751s
    

    I'd still like to keep this ticket open to see what can be improved, but I'm bumping the milestone back since --min none makes this far less critical.

  • Chris Griego

    Chris Griego October 5th, 2008 @ 11:14 PM

    • → Assigned user changed from “” to “Chris Griego”
  • Chris Griego

    Chris Griego October 16th, 2008 @ 06:32 PM

    I have hunch that needs testing. YUI Compressor being slow is not something we can do a lot for, but the way we're currently using it means both Java and the YUI Compressor Jar is reloaded for each minified output file. Finding a way to initialize these only once and reuse would be one potential way to speed things up.

  • Chris Griego

    Chris Griego October 21st, 2008 @ 08:25 PM

    There's an existing feature request for YUI Compressor to be able to batch files from the command line, which the author does not seem interested in doing. What needs research is if we can batch within Blender by using some kind of Ruby to Java bindings.

    https://sourceforge.net/tracker/...

  • Chris Griego

    Chris Griego November 19th, 2008 @ 10:14 PM

    • → Milestone changed from “1.1” to “1.2”

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Blender is like ant or make for the front-end. It aggregates and compresses CSS and/or JavaScript assets for a site into efficient, production-ready files.

People watching this ticket