From: jason marshall Date: 2012-09-11T05:16:21+09:00 Subject: Looking for advice on how to report performance issues --047d7b41c3ea697cc004c95ea1cb Content-Type: text/plain; charset=ISO-8859-1 Hello, We have a Rails app running on Ruby 1.9.3, and a under Windows we're seeing a 20x time penalty in our RSpec tests. I have looked at some big patches from both Xavier and Luis and while they were very helpful, we're still seeing it take 7-8x as long to run the tests. That's the difference between a minute (very usable) and 7:30 (nearly unusable). I'm fairly new to Ruby, but not to performance analysis, so I've volunteered to follow up on this problem. If I want to file/find a bug to associate with this problem, what sort of data should I be gathering, and how? Background/random data: We have 800+ tests, and on a good day they all run in a minute. Some do no I/O (pure 'unit' test), most do light I/O (usually a couple create+reads to MongoDB or a render partial). Only a few do any heavy lifting. I don't see any glaring hotspots. Most of the tests seem to take several times longer to run. Dots just accumulate slower. RSpec report 360 seconds to run the tests, but the test run actually completes in about 440 seconds. So the rest is what, RSpec and Ruby spool-up time? Thanks, - Jason --047d7b41c3ea697cc004c95ea1cb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

We have a Rails app running on Ruby 1.9.3, and a = under Windows we're seeing a 20x time penalty in our RSpec tests. =A0

I have looked at some big patches from both Xavier = and Luis and while they were very helpful,=A0we're still seeing it take= 7-8x as long to run the tests. =A0That's the difference between a minu= te (very usable) and 7:30 (nearly unusable).

I'm fairly new to Ruby, bu= t not to performance analysis, so I've volunteered to follow up on this= problem. =A0If I want to file/find a bug to associate with this problem, w= hat sort of data should I be gathering, and how? =A0


Background/random data:

We have 800+ tests, and on a good day they all run in a minute. = =A0Some do no I/O (pure 'unit' test), most do light I/O (usually a = couple create+reads to MongoDB or a render partial). =A0Only a few do any h= eavy lifting.

I don't see any glaring hotspots. =A0Most of the te= sts seem to take several times longer to run. =A0Dots just accumulate slowe= r.

RSpec report 360 seconds to run the tests, but = the test run actually completes in =A0about 440 seconds. =A0So the rest is = what, RSpec and Ruby spool-up time? =A0


Thanks,
- Jason
--047d7b41c3ea697cc004c95ea1cb--