aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorGonçalo Silva <goncalossilva@gmail.com>2011-04-03 01:09:34 +0100
committerGonçalo Silva <goncalossilva@gmail.com>2011-04-03 02:02:03 +0100
commit677ce63d92b7725b0a11facddc1ba95f50f865df (patch)
tree79dea5461f31dd47d2ab0ec523853c8b3c682873 /railties/guides
parentb8f9a4515682f2722dc6e8ff9c106f5f774e703b (diff)
downloadrails-677ce63d92b7725b0a11facddc1ba95f50f865df.tar.gz
rails-677ce63d92b7725b0a11facddc1ba95f50f865df.tar.bz2
rails-677ce63d92b7725b0a11facddc1ba95f50f865df.zip
profiling enabled under JRuby. Added documentation for workaround described in JRUBY-5650.
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/performance_testing.textile4
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/guides/source/performance_testing.textile b/railties/guides/source/performance_testing.textile
index ca11fbeec6..a515226b9a 100644
--- a/railties/guides/source/performance_testing.textile
+++ b/railties/guides/source/performance_testing.textile
@@ -223,7 +223,7 @@ h6. Profiling
|_.Rubinius | yes | no | no | no | no | no | no | no |
|_.JRuby | yes | no | no | no | no | no | no | no |
-WARNING: Profiling under JRuby is currently unavailable because of a bug with rake and JRuby's +--profile.api+ option. You should resort exclusively to benchmarking.
+NOTE: To profile under JRuby you'll need to run +export JRUBY_OPTS="-Xlaunch.inproc=false --profile.api"+ *before* the performance tests.
h4. Understanding the Output
@@ -309,8 +309,6 @@ h6. Output Availability
|_.Rubinius | yes | yes | no |
|_.JRuby | yes | yes | no |
-WARNING: Again, profiling under JRuby is currently unavailable because of a bug with rake and JRuby's +--profile.api+ option.
-
h4. Tuning Test Runs
Test runs can be tuned by setting the +profile_options+ class variable on your test class.