🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.advocacy
Article #480671

Re: robimy benchmark ;)

#480671
From: Tomasz Chmielewski
Date: Thu, 18 Nov 2010 16:14
33 lines
2270 bytes
On 18.11.2010 16:44, Piotr B. (pb2004) wrote:
> Tomasz Chmielewski presented the following explanation :
>> http://digitizor.com/2010/11/17/internet-explorer-9-caught-cheating-in-sunspider-benchmark/
>>
>>
>> While Mozilla engineer Rob Sayre was benchmarking Firefox 4 with
>> different browsers, he noticed something with Internet Explorer 9 –
>> Internet Explorer 9 was around 10 times faster than the other browsers
>> in a particular test (math-cordic) in the SunSpider benchmark. While
>> Chrome and Opera scored took around 10ms in that test, Internet
>> Explorer 9 finished it it in about 1ms.
>>
>> Sayre investigated further by modifying the code for that test used in
>> the SunSpider Benchmark a bit. He made two variations of the test
>> little bits of codes to the original – one by adding a “true” and
>> another by adding a “return”. As these “true” and “return” in this
>> context does not do anything there should be minimal impact.
>>
>> The result though is startling – Internet Explorer 9 took around 20
>> times longer with the two new tests compared with the original. While
>> the original took only 1ms in my laptop, the other two took around
>> 20ms each.
>
> Kolejny który nie słyszał o dead code elimination.

Ba, rowniez madrzejsi robiacy analize tego nie slyszeli o dead code 
elimination robiacym eliminacje skomplikowanego kodu, a wywalajacym sie 
na banalnej modyfikacji tegoz.


-- 
Tomasz Chmielewski
http://wpkg.org
Technical Details
Message-ID: <8kl1n0Fj65U1@mid.uni-berlin.de>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news-2.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!not-for-mail
References: <8kinliFfe5U1@mid.uni-berlin.de> <mn.93ec7dabc2333b33.110465@pb2004.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news-2.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: Tomasz Chmielewski <tch@nospam.wpkg.org>
Newsgroups: pl.comp.os.advocacy
Subject: Re: robimy benchmark ;)
Date: Thu, 18 Nov 2010 17:14:21 +0100
Lines: 33
Message-ID: <8kl1n0Fj65U1@mid.uni-berlin.de>
References: <8kinliFfe5U1@mid.uni-berlin.de> <mn.93ec7dabc2333b33.110465@pb2004.pl>
Mime-Version: 1.0
X-Trace: news.uni-berlin.de Z2Jlh3NmFb8FjfbWyC+mtwSKIs4Z0mwEP57UDpUG0CkwD6Wjk=
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
In-Reply-To: <mn.93ec7dabc2333b33.110465@pb2004.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit