Hi,
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
Cheers,
Jon
Hi,
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
Cheers,
Jon
Jonathan L. 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
On Tue, 2008-07-15 at 13:40 +0200, Piotr W. wrote:
Jonathan L. 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 whyspec --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…
Cheers
On Jul 15, 2008, at 9:50 AM, Jonathan L. wrote:
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs