diff options
author | Gonçalo Silva <goncalossilva@gmail.com> | 2011-04-03 01:09:34 +0100 |
---|---|---|
committer | Gonçalo Silva <goncalossilva@gmail.com> | 2011-04-03 02:02:03 +0100 |
commit | 677ce63d92b7725b0a11facddc1ba95f50f865df (patch) | |
tree | 79dea5461f31dd47d2ab0ec523853c8b3c682873 /railties | |
parent | b8f9a4515682f2722dc6e8ff9c106f5f774e703b (diff) | |
download | rails-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')
-rw-r--r-- | railties/guides/source/performance_testing.textile | 4 |
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. |