Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: Question about Pattern.matcher performance differences between Java6 and Java7/8 Date: Thu, 26 Dec 2013 08:51:16 -0500 Organization: A noiseless patient Spider Lines: 21 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 26 Dec 2013 13:51:19 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="858a9d65d95f4ea4d355bd116aa2cdbf"; logging-data="32425"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qPpJzaRvAntYpBvikIof3" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: Cancel-Lock: sha1:7KO1HyolOvOqGQ5cyMrwJkKlJpU= Xref: csiph.com comp.lang.java.programmer:27087 On 12/25/2013 2:47 PM, Kevin McMurtrie wrote: > In article , > Eric Sosman wrote: > >> On 12/24/2013 7:26 AM, zach.lists@gmail.com wrote: >>> Hello, >>> >>> I've noticed a difference in performance between Java6 and Java7/8 (Oracle) >>> on OS X with some toy code. [...] >> >> One suggestion: Don't fret about the performance of "toy code." >> >> If the performance of "real code" suffers, that's another matter. >> [...] > Note that "real code" is difficult to accurately profile in Java. So, too, is "toy code." -- Eric Sosman esosman@comcast-dot-net.invalid