I am doing some performance testing for something I am working on. My
goal is to get performance statistics before and after a bug has been
resolved in a commit. So say if revision 1 has a bug in it and
revision 2 has the bug resolved. I would like to record the changes in
the performance output. Can anyone guide me as to where I can get
access to the database, how to find which bug has been resolved in a
given commit. And what was the description of the bug resolved. Also
it would help if there was a corresponding test case to run that
particular commit.
thanks
Nipun
Hi Nipun-
Is this for a class project or a company project?
We have the individual pieces you are looking for but they may not be
correlated the way you are hoping. You can go into our repro
(http://hg.mozilla.org/) and see the changes.
In the putback comments there are usually bug numbers. In most cases,
you can pull the bug # out of the comments. The best place to see the
point at which the change happened is via the change log
((http://hg.mozilla.org/). There are various Mercurial (hg) tools that
allow you to look at the src, see putbacks, and pull change sets.
Often bugs will have tests associated with them, but not always. This
shouldn't directly affect your main project which is to check
performance before and after the change. There are also pre-existing
tests embedded in the source tree for each component.
We are small team and heavily dependent on community support to build
tools like this. So we'd love to work with you to share the tools we
have if you can work with us and provide a copy of any tools you
produce. One of the guys on my team is investigating similar metrics.
His name is Murali. See his email addr above. Feel free to contact
him and see how you can work together.
Thanks,
Tim
Cheers,
Clint