Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8abc222

Browse files
committedNov 14, 2014
Indirectly warn that production is used.
1 parent b0a099b commit 8abc222

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ All the rake tasks accept configuration in the form of environment variables. Fo
6060
$ rake -f perf.rake perf:test TEST_COUNT=100_000
6161
```
6262

63+
Tests run against the production environment by default, but it's easy to
64+
change this if your app doesn't run locally with `RAILS_ENV` set to
65+
`production`. For example:
66+
67+
```
68+
$ rake -f perf.rake perf:mem RAILS_ENV=development
69+
```
70+
6371
## Rack Setup
6472

6573
Using Rails? You don't need to do anything special. If you're using Rack, you need to tell us how to boot your app. In your `perf.rake` file add a task:

0 commit comments

Comments
 (0)
Please sign in to comment.