Hi Ted,

No media imports - just actionscript and mxml files. Files does seem  
to be the major factor in the speed - it states it is getting 546  
files - there are maybe 40 in my project so i'm assuming it is  
extracting all the flex framework files every time it compiles?

thanks for the tips with compc - i haven't got round to putting in  
the media assets yet - i figured it'd slow compile times down so am  
going to skin the project right at the end... and will certainly look  
into putting them in a swc file.

cheers, Al

On 24 Mar 2006, at 14:36, Ted Patrick wrote:

> Al,
>
> This actually looks to be more related to media imports. The 8458ms  
> time next to files should stick out. That looks like media  
> processing to me. In Flex 1.5, this aspect of compilation is the  
> most resource intensive.
>
> Are you:
>
> 1. Embeding Fonts
>
> 2. Embedding Images, GIF, JPEG, PNG, SWF
>
> 3. Embedding Audio
>
> The ASC compiler and MXMLC compiler are very fast but when tasked  
> with embedding images, font to glyph conversion, audio, it is  
> slower. This is actually one of the illusions of compiler  
> performance. MTASC and ASC are somewhat comparable ( ASC is faster  
> but very few have seen it standalone! ) but when you add media  
> encoding, MXML to AS translation, AS compilation to ABC, and  
> finally SWF assembly, MXMLC obviously takes longer. This is the  
> same exact logic in why Flash compilation times are much slower  
> than MTASC. Obviously when you must encode every single character  
> in a font into a glyph, encode images, and encode audio,  
> compilation will take exponentially longer.
>
> There is a trick here. You can use COMPC to precompile media assets  
> into SWC. The SWC format is directly injected into the SWF bytecode  
> and thus requires no compiler think time. Moving media compilation  
> to SWC speeds compiler time 10 fold.
>
> My 2 cents,
>
> Cynergy Systems, Inc.
> Theodore Patrick
> Sr. Consultant
> [EMAIL PROTECTED]
> tel: 1.866.CYNERGY
> http://www.cynergysystems.com
>
>> -----Original Message-----
>> From: [email protected]  
>> [mailto:[EMAIL PROTECTED] On
>> Behalf Of Alisdair Mills
>> Sent: Friday, March 24, 2006 1:39 AM
>> To: [email protected]
>> Subject: Re: [flexcoders] Mac Flex developing
>>
>> yeah... i add incremental but for some reason it still takes between
>> 8 and 20 seconds. the output from mxmlc is as follows....
>>
>> Files: 546 Time: 8458ms
>> Linking... 100ms
>> Optimizing... 901ms
>> SWF Encoding... 180ms
>> Persisting 114 compilation units... 160ms
>> Total time: 12607ms
>>
>> am i doing something wrong? my syntax is as follows... mxmlc --
>> incremental=true -output=deploy/FeverPitch.swf src/FeverPitch.mxml.
>>
>> cheers, Al
>>
>>
>> On 24 Mar 2006, at 05:32, Mike Chambers wrote:
>>
>>> Make sure you are doing incremental compiles by passing:
>>>
>>> --incremental=true
>>>
>>> on the command line.
>>>
>>> mike chambers
>>>
>>> [EMAIL PROTECTED]
>>>
>>>
>>> Alisdair Mills wrote:
>>>> Mike, just out of interest... is there any way to get the SDK
>>>> compiler to compile as quickly as the compiler in flex builder?  
>>>> Using
>>>> flex builder beta 1 as a guide it would take 1 second or so in flex
>>>> builder but up to 20 seconds with the command line mxmlc  
>>>> compiler...
>>>> quite a difference. I was half way through developing an app with
>>>> beta 1 on a mac (which worked - sort of - on os x eclipse) and  
>>>> since
>>>> beta 2 it has got a whole lot tougher/slower.
>>>>
>>>> On 23 Mar 2006, at 22:25, Mike Chambers wrote:
>>>>
>>>>> fyi, we now have an SDK download for Windows, Mac and Linux:
>>>>>
>>>>> http://www.macromedia.com/cfusion/entitlement/index.cfm?
>>>>> e=labs#flexsdk2
>>>>>
>>>>> (no more having to copy from windows)
>>>>>
>>>>> mike chambers
>>>>>
>>>>> [EMAIL PROTECTED]
>>>>>
>>>>> Richard Leggett wrote:
>>>>>> I didn't see whether you specified 1.X or 2.0, and I'm sure
>>>>>> someone else
>>>>>> will be better able to speak about Flex 1.X, but I might be  
>>>>>> able to
>>>>>> offer some insights for Flex 2.0.
>>>>>>
>>>>>> I'm a PC guy myself but my colleague is currently working on a  
>>>>>> Mac
>>>>>> running Eclipse with the FlexBuilder 2 plug-ins (copied directly
>>>>>> from a
>>>>>> PC install). Here's what you don't get:
>>>>>>
>>>>>>  - Debugging ( or run in debug player )
>>>>>>  - Therefore trace() - see workaround below
>>>>>>  - IDE makes the carat jump around and highlight various things,
>>>>>> occaisionally he switches to FDT when it all gets too much
>>>>>>  - No MXML highlighting and code completion in MXML documents (if
>>>>>> anyone
>>>>>> knows the location of the DTD I'm sure you can at least hook up
>>>>>> XMLBuddy
>>>>>> or something to it to get some sort of highlighting and  
>>>>>> prompting).
>>>>>>  - Errors e.g. "null has no properties" just causes app to stop
>>>>>> working
>>>>>>
>>>>>> You do get:
>>>>>>
>>>>>>  - "intellisense"/code completion / look up declaration in AS
>>>>>> documents
>>>>>>  - Run as release build
>>>>>>
>>>>>> Design view I'm not sure on, would have to check, not used much.
>>>>>> So in
>>>>>> summary, it is workable for now as long as there's a PC guy
>>>>>> around to
>>>>>> debug if it all gets too much.
>>>>>>
>>>>>> I wrote a quick little Logger class and compatible output panel
>>>>>> that
>>>>>> uses LocalConnection if anyone would like it, very simple but it
>>>>>> might
>>>>>> save you 5 mins and it's better to have some sort of trace than
>>>>>> none at
>>>>>> all if you must use a Mac ;)
>>>>>>
>>>>>> Also tried running Eclipse in VirtualPC, as you'd expect no good
>>>>>> even on
>>>>>> the fastest Macs, if anyone has any insights into running
>>>>>> Darwine on
>>>>>> Tiger I'd love to be able to pass it on.
>>>>>>
>>>>>> Rich
>>>>>>
>>>>>> ----------------------------------------------------------------- 
>>>>>> --
>>>>>> --
>>>>>> ---
>>>>>> *From:* [email protected]
>>>>>> [mailto:[EMAIL PROTECTED]
>>>>>> *On Behalf Of *Jonathan Miranda
>>>>>> *Sent:* 23 March 2006 19:34
>>>>>> *To:* [email protected]
>>>>>> *Subject:* [flexcoders] Mac Flex developing
>>>>>>
>>>>>> Just curious, how and if there are differences with developing
>>>>>> Flex on a
>>>>>> Mac (the only thing I can foresee is tools limited to Windows
>>>>>> environments).**
>>>>>>
>>>>>> _________________________________________
>>>>>>
>>>>>> *Jonathan Miranda*
>>>>>>
>>>>>> *Flexible Master of the Web*
>>>>>>
>>>>>> //"Try not to become a man of success, but a man of value." -
>>>>>> Albert
>>>>>> Einstein//
>>>>>>
>>>>>> HealthGrades <http://www.healthgrades.com/>: Guiding America to
>>>>>> Better
>>>>>> Healthcareâ„¢
>>>>>>
>>>>>> NASDAQ: HGRD
>>>>>>
>>>>>> w  (720) 963-3832
>>>>>>
>>>>>> c  (707) 761-0868
>>>>>>
>>>>>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>>>>>
>>>>>> _________________________________________
>>>>>>
>>>>>> The message contains confidential and/or legally privileged
>>>>>> information
>>>>>> and is intended for use only by the indicated addressee.  If you
>>>>>> are not
>>>>>> the named addressee you should not disseminate, distribute, or
>>>>>> copy this
>>>>>> e-mail. Please notify the sender immediately by e-mail if you  
>>>>>> have
>>>>>> received this e-mail by mistake and delete this e-mail from your
>>>>>> system.
>>>>>> E-mail transmissions cannot be guaranteed to be secure or error-
>>>>>> free as
>>>>>> information could be intercepted, corrupted, lost,
>>>>>> destroyed,arrive late
>>>>>> or incomplete, or contain viruses. The sender therefore does not
>>>>>> accept
>>>>>> liability for any errors or omissions in the contents of this
>>>>>> message
>>>>>> which arise as a result of e-mail transmission. If  
>>>>>> verification is
>>>>>> required please request a hard-copy version.
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Flexcoders Mailing List
>>>>>> FAQ: http://groups.yahoo.com/group/flexcoders/files/
>>>>>> flexcodersFAQ.txt
>>>>>> Search Archives: http://www.mail-archive.com/flexcoders%
>>>>>> 40yahoogroups.com
>>>>>>
>>>>>>
>>>>>>
>>>>>> SPONSORED LINKS
>>>>>> Web site design development
>>>>>> <http://groups.yahoo.com/gads?t=ms&k=Web+site+design
>>>>>> +development&w1=Web+site+design+development&w2=Computer+software
>>>>>> +development&w3=Software+design+and+development&w4=Macromedia
>>>>>> +flex&w5=Software+development+best
>>>>>> +practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
>>>>>>  Computer software development
>>>>>> <http://groups.yahoo.com/gads?t=ms&k=Computer+software
>>>>>> +development&w1=Web+site+design+development&w2=Computer+software
>>>>>> +development&w3=Software+design+and+development&w4=Macromedia
>>>>>> +flex&w5=Software+development+best
>>>>>> +practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
>>>>>>  Software design and development
>>>>>> <http://groups.yahoo.com/gads?t=ms&k=Software+design+and
>>>>>> +development&w1=Web+site+design+development&w2=Computer+software
>>>>>> +development&w3=Software+design+and+development&w4=Macromedia
>>>>>> +flex&w5=Software+development+best
>>>>>> +practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
>>>>>>
>>>>>> Macromedia flex
>>>>>> <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site
>>>>>> +design+development&w2=Computer+software+development&w3=Software
>>>>>> +design+and+development&w4=Macromedia+flex&w5=Software 
>>>>>> +development
>>>>>> +best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw>
>>>>>>  Software development best practice
>>>>>> <http://groups.yahoo.com/gads?t=ms&k=Software+development+best
>>>>>> +practice&w1=Web+site+design+development&w2=Computer+software
>>>>>> +development&w3=Software+design+and+development&w4=Macromedia
>>>>>> +flex&w5=Software+development+best
>>>>>> +practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------- 
>>>>>> --
>>>>>> --
>>>>>> ---
>>>>>> YAHOO! GROUPS LINKS
>>>>>>
>>>>>>     *  Visit your group "flexcoders
>>>>>>       <http://groups.yahoo.com/group/flexcoders>" on the web.
>>>>>>
>>>>>>     *  To unsubscribe from this group, send an email to:
>>>>>>        [EMAIL PROTECTED]
>>>>>>       <mailto:[EMAIL PROTECTED]
>>>>>> subject=Unsubscribe>
>>>>>>
>>>>>>     *  Your use of Yahoo! Groups is subject to the Yahoo!  
>>>>>> Terms of
>>>>>>       Service <http://docs.yahoo.com/info/terms/>.
>>>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------- 
>>>>>> --
>>>>>> --
>>>>>> ---
>>>>>>
>>>>>
>>>>> --
>>>>> Flexcoders Mailing List
>>>>> FAQ: http://groups.yahoo.com/group/flexcoders/files/
>>>>> flexcodersFAQ.txt
>>>>> Search Archives: http://www.mail-archive.com/flexcoders%
>>>>> 40yahoogroups.com
>>>>> Yahoo! Groups Links
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Flexcoders Mailing List
>>>> FAQ: http://groups.yahoo.com/group/flexcoders/files/ 
>>>> flexcodersFAQ.txt
>>>> Search Archives: http://www.mail-archive.com/flexcoders%
>>>> 40yahoogroups.com
>>>> Yahoo! Groups Links
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Flexcoders Mailing List
>>> FAQ: http://groups.yahoo.com/group/flexcoders/files/ 
>>> flexcodersFAQ.txt
>>> Search Archives: http://www.mail-archive.com/flexcoders%
>>> 40yahoogroups.com
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Flexcoders Mailing List
>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>> Search Archives: http://www.mail-archive.com/flexcoders% 
>> 40yahoogroups.com
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date:  
>> 3/23/2006
>>
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.3.1/291 - Release Date:  
> 3/24/2006
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders% 
> 40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to