rspec/rspec-rails — Issue #465: My rspec runs slower in Linux compared to my Mac
Author: amree
Created: 2011-11-22 01:13:31+00:00
State: open

I'm not sure where I should ask, but if you guys think this question does not belong here, feel free to delete it. So, my tests using RSpec ran a lot slower in Linux compared to my Mac.

**Linux:**

```text
$ time rspec
No DRb server is running. Running in local process instead ...
No examples matched {:focus=>true}. Running all.
.....................................................................

Finished in 68.24 seconds
69 examples, 0 failures

real	1m8.406s
user	0m6.892s
sys	0m0.445s
```

**Mac OS X:**

```text
$ time rspec
No DRb server is running. Running in local process instead ...
No examples matched {:focus=>true}. Running all.
.....................................................................

Finished in 8.34 seconds
69 examples, 0 failures

real	0m8.619s
user	0m6.498s
sys	0m0.891s
```
**Spec:**

* Linux:
* Slackware 13.37 32 bit
* 2.80 GHz Intel Core 2 Duo
* ruby 1.9.3p0 (2011-10-30 revision 33570) [i686-linux]
* MacBook Pro
* Mac OS X Lion
* 2.66 GHz Intel Core 2 Duo
* ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

Both of them are running the same project. Is this normal?