Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Extract String and StringBuffer Date: Thu, 24 May 2012 08:47:50 -0700 Organization: A noiseless patient Spider Lines: 26 Message-ID: References: <34c76a08-4bdb-462b-9178-c8a24d9a5dba@googlegroups.com> <54c296d1-7913-45f0-b1f1-a602a0c34cbf@googlegroups.com> <38ee8208-ce14-4ff8-b199-a79c0f5831b9@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 24 May 2012 15:47:51 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="2kn9RzOWSe/v/hLnHgGT4Q"; logging-data="30479"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1UHSQApsMAXoUa6cmYeQPPzk+b8yanMU=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 In-Reply-To: <38ee8208-ce14-4ff8-b199-a79c0f5831b9@googlegroups.com> Cancel-Lock: sha1:QTE5i+f/DdEvqUztI6NZLz85J5U= Xref: csiph.com comp.lang.java.programmer:14776 On 5/24/2012 8:20 AM, Robert Klemme wrote: > It's probably better to benchmark the application while enabling one > of the Oracle traces during execution. You'll then get the real data > and execution plans. And this is an even better idea than trying to rely on integration tests (although a basic check of SQL goodness isn't a bad idea either, to be done before things get to production). Another idea would be to capture the inputs to a typical production case, and add them to a performance test or stress test. Instrumenting production systems is OK if you can do it, but I like automated, reproducible tests better. I just did a quick web search for SONAR. It's one of those cruddy little "code goodness" tools, where you apparently don't trust your programmers to write good code, or you have no control over software quality, so instead of fixing those problems you install a tool to give you little reports about how crappy your code is. Dear sweet Jebus on a pogo stick.