On Jul 15, 2008, at 9:50 AM, Jonathan Leighton wrote:

On Tue, 2008-07-15 at 13:40 +0200, Piotr Wlodarek wrote:
Jonathan Leighton wrote:
Is there any simple, easy way to profile the running of my specs? It has
recently starting being way slower and I want to know why :)

spec --format profile

Thanks, but I was more thinking something that would allow me to run
ruby-prof over the specs - it's not so much a problem that individual
examples are too slow, but more that the specs have somehow become
uniformly slower.

I guess I could try and work out the revision at which it became a
problem but if there was an easy way to profile it that would be
better...

It sounds like a build server would help you out. I'm sure you could also check out ever revision (or every 50 or 500 revisions) of your app, run the specs, and create some sort of graph to get some general ideas about when and where things have slowed down.

Scott

_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to