Discussion: Slow RAILS testing
Afficher un message
Vieux 14/09/2007, 01h38   #4
Travis D Warlick Jr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Slow RAILS testing

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

kevin cline wrote:
> My RAILS unit tests take approximately one minute to run. This may
> not sound like much, but it's a real drag on incremental development.
> I imagine most of the slowness in spent in applying the database
> schema to the test database. Is there a memory-resident database that
> would speed up my tests?


You can use Heap tables with MySQL if you wish. This SQL statement will convert
a table into a Heap (memory-resident) table:

ALTER TABLE tablename TYPE=HEAP;
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG6cnYWvapaOIz2YYRAuuvAJ4wwlypxThIaHCkVy7t4V 1iDdgEHQCfZ5w+
wYBYFf9cGzqs56/O04qhG9I=
=JLqS
-----END PGP SIGNATURE-----

  Réponse avec citation
 
Page generated in 0,22465 seconds with 9 queries