You can run your tests against a database on a RAM disk. I did this a while ago, and it seems to improve the performance of integration tests by 2 or 3 times! This was on a Windows 7 virtual machine hosted on a MacBook Pro with an SSD. Most likely, your weapons will be better if you have a mechanical hard drive.
Since SQL Server allows you to specify the mdf file in the connection string via "AttachDbFileName =", you can use this by pointing to the mdf in the RAM disk.
The RAM device driver that I used was ImDisk, which is available for both 64 and 32-bit Windows. Compatible with Linux.
source share