Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Jul 29, 2009
1 parent 5a09e72 commit 0234650
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions README.markdown
Expand Up @@ -14,19 +14,21 @@ it is '' for process 1, and '2' for process 2.
database: xxx_test<%= ENV['TEST_ENV_NUMBER'] %>
username: root

For each environment, create the databases
mysql -u root -> create database xxx_test2;

Run like hell :D
Create the databases
mysql -u root
create database xxx_test; #should normally exist...
create database xxx_test2;
...

rake parallel:prepare[2] #db:reset for each database
Run like hell :D
rake parallel:prepare[2] #db:reset for 2 databases

rake parallel:spec[1] --> 86 seconds
rake parallel:spec[1] --> 1 cpu --> 86 seconds
#OR for Test::Unit
rake parallel:test[1]

rake parallel:spec --> 47 seconds (default = 2)
rake parallel:spec[4] --> 26 seconds
rake parallel:spec --> 2 cpus --> 47 seconds
rake parallel:spec[4] --> 4 cpus --> 26 seconds
...

Example output
Expand Down

0 comments on commit 0234650

Please sign in to comment.