Testing MacBook compile times for Flash and FlashDevelop

28 May06

The test results are in. I’ve tested my new 17” MacBook Pro (2,16Ghz CPU,2Gb RAM) using both BootCamp and Parallels against my Toshiba P20 (3Ghz P4 CPU, 1Gb RAM). The results are stunning.

I’ve tested three different projects, one of them was tested in both Flash 8 and FlashDevelop on all platforms for better comparison. The “Slideshow” app (tested in both FD and Flash) is a Slideshow Builder application made for a large Norwegian cultural institution. It’s made up of 12 classes and 4 components. The CMS project is a full CMS done in Flash (22 classes, 17 components) and the 3D Graph is a small FD project based on the code in this tutorial (great read!). Here are the compile times:

(All numbers are seconds)

The main difference in the test machines apart from RAM and CPU is that the MacBook has a newer and much faster memory arcitechture. Much of the speed is probably related to this since it can move data to and from the processor much faster.

It’s facinating to see that even using Parallels for emulation, the MacBook is much faster than the PC. I didn’t expect that. The compile times for FlashDevelop speak for themselves. They are the reason I hardly use the Flash IDE anymore (5-10 times the speed of compiling in the Flash IDE). I’m sure Flex will get me back in, but there’s no Mac version of Flex on Adobe Labs at the moment. I guess I’ll use BootCamp or Parallels for that as well.

Updated: I’ve added figures for the non-universal version of Flash 8 running on OSX since several wanted that. The numbers for that looks good for the Slideshow, but for some reason it slows down when compiling all the components in the CMS app? The reason I didn’t test this initially is that all my licenses are on PC, so I won’t be able to switch them over until next upgrade. Hopefully, that’s when the Universal Binaries arrive.

The Toshiba was well spec’ed when I got it and it’s still a good PC. The reason I’m getting a new machine is that I’ve worn it out. The mousepad is dead, the screen goes partially black and the battery time is less than 10 minutes so it’s now more of a stationary than a portable.

How I tested

Every project was opened and compiled once. I then compiled it three times in a row and wrote up the average. The complie time is the time from I click the Test Movie option until the finished SWF shows up on screen. FlashDevelop had Verbose output turned on so that I could see the precise time used. Flash 8 was timed using a stopwatch since there’s no similar option. With an average of three compile times, it will still be correct enough for comparision.

Some observations

Running BootCamp on a MacBook is just like using any other PC. BootCamp is in beta and there are some small snags such as keyboard mapping not being entirely correct. You’ll hunt a bit until you figure out that it’s mapped as if the Mac keyboard was a PC keyboard. This means that you’ll find the @ sign at the key “2” and not on the @-key as it is on the Mac keyboard (yeah, the Mac has it’s own @-key so there’s no need to fiddle with AltGr+2). Not a big thing, but it’ll be annoying over time so I hope they fix it for the next release. My initial report about C&C Generals playing fine wasn’t quite correct. I had a spectacuar crash yesterday while playing. Had to do a full reset (Fun to play the old singleplayer missions again at even greater resolutions!)

Paralells is great! You can even install Windows 95, 98 and Linux there for testing. I’m definetly paying $40 for that possibility. It’s also available for PC (without OSX support) so non-switchers can enjoy this treat as well. Only thing I have against it is the response time on the mouse. It’s really laggy - enough to irritate you since it’s not precise. I guess I’ll just develop a habit of using the keyboard more often, but it would be great if the fixed this in the final version.

28 May 2006 at 7:39 pm

10 Responses to Testing MacBook compile times for Flash and FlashDevelop

  1. avatar photo
    Campbell 28 May 2006 at 9:16 pm #

    Wow I have the same laptop and ill tell you now, the big pig isnt slow. That mac book must be great to work on. Hmmm might be time to try and sell my sole again so I can afford one.

  2. avatar photo
    Jensa 28 May 2006 at 9:23 pm #

    It’s really great, but I will need some time getting used to a couple things such as the keyboard. The layout is really different from the P20, but then Toshiba has always had varying layouts? Before the P20 I had another Toshiba and even those two had different layouts. Another small thing is that one has to press the keys harder on the MacBook. That also takes a little getting used to.

    Moving the rest of my data over to the MacBook now. Then I’ll need to find some good CVS + Subversion software and get that up and running.

  3. avatar photo
    John Barrett 28 May 2006 at 9:41 pm #

    Thanks for the post`-`
    One question-does flash 8 work on the macbook? I read that adobe did not have a universial version.

  4. avatar photo
    josh 28 May 2006 at 11:06 pm #

    That’s what I’d like to know - I plan on getting a MacBook Pro, but I’d prefer to stay in OSX. How’s the performance of the Flash IDE there, since it would be running under Rosetta?

  5. avatar photo
    Jensa 28 May 2006 at 11:22 pm #


  6. avatar photo
    Josh 29 May 2006 at 3:44 am #

    That’s awesome - it’s obviously slower, but not slow enough to keep me from still wanting to get one now.

  7. avatar photo
    Herbert 01 November 2007 at 3:47 pm #

    I don’t understand why the heck people buy a Mac and install Windows on it. You could pay so much less for an equivalent PC.

  8. avatar photo
    jason 05 January 2008 at 3:57 pm #

    i think that flash games are fun to play and that if you can tell me someway of making flash work on the macbook i am going to be getting next wednesday that would be really helpful because i know that you can’t play Pc games on Mac and so if you find a way to let me play flash games cause i have alot of them and they are really fun to play when i am bored and theres nothing to do around the house

  9. avatar photo
    Jensa 05 January 2008 at 6:24 pm #

    Hi Jason,
    Not really sure what you’re saying here? Flash-based games are usually found on the web, and not people’s computers, but if you DO have SWFs that have been downloaded, just grab the Standalone Flash Player to play them or turn them into executables for Mac or PC. You can also play PC games on your Mac. All you need is the lastest version of OSX and a XP license. The software you use is called Bootcamp.


  10. avatar photo
    Roslyn Twardy 26 December 2009 at 11:13 pm #

    I have had many computers over the years, from Vaio, gateway, alienware and dell but nothing compares to the Mac. It runs smooth, its easy to use for a first time mac user and the computer is efficient in converting files for you. I was nervous about switching to Mac but now I couldn’t be happier. Its also easily compatible with PCs. If you get iWork software, you can save as a word document and send it to a PC without problems. Editing the thousands of pictures I have is a breeze.I don’t think I could ever go back now. Worth the investment.