MacBook Pro: Kicking ass and taking names
I received my MacBook Pro this morning, and I've spent the day setting it up, doing some development and running some performance comparisons. The setup was easy: I just booted my PowerBook into Firewire mode and copied over all the files I needed. Everything works for the most part. I did have some issues with IDEA and Eclipse, but got both working after doing a few try and try-again shenanigans. Eclipse was crashing when I'd browse to set my workspace; typing it in manually fixed the problem. IDEA hung the first time I opened it; killing it and restarting fixed the problem.
As far as performance, this thing fricken' rocks! Safari launches in under a second and you're browsing before the dock icons hits the top of its first bounce. Firefox is a different story (likely b/c it hasn't been compiled for x86) - it takes 10 seconds to launch. The good news is once it's up, there doesn't seem to be any performance issues. Safari is amazing though - the speed does wonders for GMail and it actually feels like a desktop application.
When I mentioned yesterday that I was going to compare the MacBook to my desktop, Rob Williams said it wasn't a fair comparison. I agree - but I really wanted this machine to be the best machine I could possibly buy. With my (very unofficial) performance tests, it appears like it is. It's faster than my dual-core AMD 64 desktop machine that has 3 GB of RAM. Now, I have had the desktop for a couple months, so it's possible I'm suffering from OS Rot, but still - it's impressive it keeps up. Here are the numbers from my Performance Comparisons page:
For the tests below, I used Java version "1.5.0_06" and had the following variables set: JAVA_OPTS=Xms256M -Xmx384M, $ANT_OPTS=-Xmx256m. I used the CVS version of AppFuse (1.9.1-dev).
Computer | Operation | Time (mm:ss) |
---|---|---|
HP Pavilion a1250n with Windows XP Media Center (dual-core 2 GHz AMD64 3800+, 3 GB RAM) | appfuse: clean package-web | 00:15 |
appfuse: setup test-all | 01:51 | |
PowerBook G4 with OS X 10.4.5 (1.33 GHz, 1 GB RAM) | appfuse: clean package-web | 00:30 |
appfuse: setup test-all | 03:31 | |
MacBook Pro with OS X 10.4.5 (2.16 GHz, 2 GB RAM) | appfuse: clean package-web | 00:12 |
appfuse: setup test-all | 01:28 |
A couple of interesting things to note:
- When I first got my desktop, it's numbers were 00:14 for "ant clean package-web" and 01:29 for "ant setup test-all". The MacBook Pro? 00:12 and 01:28. The Windows box had 1 GB of RAM when I ran those tests, but no matter how I tweaked the memory settings once I put 3 GB of RAM in, I've never gotten better numbers.
- My PowerBook has been dog slow for several months now. When looking up the OS X version on it - I noticed it lists the memory as 512 MB. WTF?! I've had 1 GB in it every since I first bought it! What happened? Did half my RAM go bad or did someone steal half of it during a repair? Oh well, at least I now know the reason it was so damn slow.
Conclusion: The MacBook Pro is one of the best machines you can buy (laptop or desktop) for Java development. As for the battery life? I'm still doing the "calibration", so I'm not quite sure. Nor do I care - I plan on having this thing hooked up to my 20" cinema display that Virtuas was kind enough to get for me. The display combined with a mouse, keyboard and iCurve is a very nice setup.
Update: I pulled out the memory from my PowerBook and put it back in. Upon reboot, it resulted in the correct (1 GB) memory setting. The numbers above appear to be accurate regardless. I ran some tests again and times were actually slower (maybe because I'm on battery power).
Wow think for posting those numbers Matt. I shouldn't have bought a new machine in Nov. but I just didn't believe the rumors that the intel laptops were ahead of schedule. I am going to have to figure out a way to sell mine and get one of these!
Since Firefox isn't a Universal Binary yet, check out Camino [http://www.caminobrowser.org/], I believe it uses the same version of Gecko what Firefox 1.5.01 does and is already available as a Universal Binary.
Posted by Kurt Wiersma on February 24, 2006 at 01:15 AM MST #
Posted by James on February 24, 2006 at 01:55 AM MST #
Posted by Charlie on February 24, 2006 at 01:58 AM MST #
Posted by x on February 24, 2006 at 02:18 AM MST #
Charlie - what do you mean by "turn off virtual paging?" Do you mean don't let windows handle your paging file? Here's what I have mine set to:
<p style="text-align: center"> <img src="http://raibledesigns.com/repository/images/virtualmemory-fembot-feb2006.png" width="344" height="438" alt="System Settings" />Good point x - my desktop cost about 1/3 less than the MacBook.
Posted by Matt Raible on February 24, 2006 at 02:41 AM MST #
Posted by Matt Raible on February 24, 2006 at 02:42 AM MST #
Posted by Matt Raible on February 24, 2006 at 03:11 AM MST #
Posted by Jared Richardson on February 24, 2006 at 04:29 AM MST #
Posted by Matt Raible on February 24, 2006 at 04:56 AM MST #
Posted by Todd Huss on February 24, 2006 at 05:19 AM MST #
Posted by Matt Raible on February 24, 2006 at 05:34 AM MST #
Posted by Cung Thai Son on February 24, 2006 at 09:40 AM MST #
Posted by Vic on February 24, 2006 at 02:37 PM MST #
* Dell Inspiron 9400 Dual 2.16GHz/17"/2GB/100GB 7200RPM/8x CD/DVD burner (DVD+/-RW) : $3,437
* Apple MacBook Pro Dual 2.16GHz/15"/2GB/100GM 7200RPM/4x CD/DVD burner (DVD+/-RW) : $3,199
So, while the Dell costs more it also comes with a larger screen and faster burner so I'd have to call it tie. =)
Posted by Ryan on February 24, 2006 at 03:03 PM MST #
Posted by Tom on February 24, 2006 at 04:24 PM MST #
I checked out the latest Appfuse sources from CVS and ran each test 4 times.
I'm thinking the file system, RAM and HDD are by far the biggest factors in boosting Java development speeds.
Tim
Posted by Tim on February 24, 2006 at 08:35 PM MST #
Posted by Stephan Schwab on February 24, 2006 at 10:43 PM MST #
Posted by Lars Fischer on February 28, 2006 at 09:47 PM MST #
Posted by Matt Raible on February 28, 2006 at 10:03 PM MST #
Posted by Lars Fischer on February 28, 2006 at 10:07 PM MST #
Posted by Cung Thai Son on March 01, 2006 at 06:17 AM MST #
Posted by andy on March 05, 2006 at 02:20 AM MST #
Posted by Ted on March 05, 2006 at 05:55 AM MST #
Posted by Matt Raible on March 05, 2006 at 08:41 PM MST #
Posted by andy on March 07, 2006 at 12:56 AM MST #
Posted by Rax on March 20, 2006 at 06:01 PM MST #
Posted by Art on January 02, 2007 at 10:58 AM MST #