Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Klemme Newsgroups: comp.lang.java.programmer Subject: Re: Benchmarking Date: Tue, 05 Aug 2014 07:21:57 +0200 Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 9ExTMbBtG2qk7mlM8YgA8AWPMIrbKUcxe8R6gjWkNSeBdA35g= Cancel-Lock: sha1:HuEpqrF6sU5IcfBx385z4pRfdiI= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 In-Reply-To: Xref: csiph.com comp.lang.java.programmer:29564 On 03.08.2014 21:04, Kevin McMurtrie wrote: > HotSpot inlining needs to be considered too, and that depends on the > global environment. Not only is that difficult to benchmark, but it can > dynamically change in the running application too. The difference can > be enormous for stream parsing, audio, graphics, etc. Yes, but this is exactly what a micro benchmark does _not_ try to measure. That's why it is a micro benchmark. The effects you are talking about would be investigated with profiling the real application. Kind regards robert