Does Django tests run slower on the mac compared to linux?

Posted by Thierry Lam on Stack Overflow See other posts from Stack Overflow or by Thierry Lam
Published on 2010-03-10T15:14:34Z Indexed on 2010/03/15 4:09 UTC
Read the original article Hit count: 241

Filed under:

I'm currently developing my Django projects on both:

  1. Mac OS X 10.5, 32 bit
  2. Ubuntu Server 9.10 64 bits (1 CPU, 512MB RAM)

Both of the above OS are using:

  1. Python 2.6.4
  2. Django 1.1.1
  3. MySQL 5.1

Running 12 tests for one of my application take:

  1. Mac: 57.513s
  2. Linux: 30.935s

EDIT:

Mac Hardware Spec:

  • MacBook Pro
  • 2.2 GHz Intel Core 2 Duo
  • 3GB RAM

I'm running the Ubuntu OS on the same mac above through VMware Fusion 2.0.6.

You might argue that Ubuntu Server 64 bits is faster but I have observed a similar speed difference on Ubuntu 8.10 32 bits desktop edition. Even if I turn off my linux VM and other mac applications, I still experience the slowness. Has anyone else experienced this Django test speed difference across those two OS?

© Stack Overflow or respective owner

Related posts about django