[wp-trac] Re: [WordPress Trac] #6814: Async media crunching

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 23 01:09:43 GMT 2008


#6814: Async media crunching
----------------------------+-----------------------------------------------
 Reporter:  matt            |        Owner:  tellyworth
     Type:  enhancement     |       Status:  new       
 Priority:  normal          |    Milestone:  2.6       
Component:  Administration  |      Version:  2.5       
 Severity:  normal          |   Resolution:            
 Keywords:  blessed         |  
----------------------------+-----------------------------------------------
Comment (by tellyworth):

 I'm not sure how common it is, but in my testing a good part of the
 'Crunching' time is actually the final part of the file upload.  It seems
 that swfupload triggers the 100% progress event (which is what causes
 Crunching to be displayed) when it begins sending the final chunk of the
 upload, rather than when it finishes sending it.  I don't know of a
 solution to this.

 In other words, the time spent creating thumbnails is only a fraction of
 the Crunching time, and might be negligible.  Some basic logging with
 microtime() in async-upload.php would confirm it.

 If it turns out thumbnail creation does take a significant amount of time,
 then yes, it should be done asynchronously.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6814#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list