This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC 2/3] Perf test framework


On 09/21/2013 12:51 AM, Doug Evans wrote:
I was wondering that we can support json format, so I create class
>PerfTestConfig and perftest.ini is used to determine which format to
>be used.  I agree that we can remove PerfTestConfig since we
>only support only one format (plain text) nowadays.
Hi.  I wasn't suggesting removing support for more reporting formats.
We'll be adding our own.:-)

I'm just wondering, if all that pertest.ini will contain is the report
format, do we need it?

perftest.ini only contains report format so far, but the perf test framework needs more and more customizations, so perftest.ini will contain more stuffs.

Or, can we specify the format (and whatever else is desired/needed)
via some other means?

by env var? I thought of this, but this doesn't scale to me, if we have more to set.

How will the user specify the desired report format?


in testsuite/perftest.ini
[Reporter]
type = TextReporter

In short, we don't have anything to customize in perf test, so I am OK to remove PerfTestConfig. Once we want to do customization, I still prefer to do it through config file, like perftest.ini.

--
Yao (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]