<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Global Nerdy &#187; performance</title>
	<atom:link href="http://www.globalnerdy.com/tag/performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.globalnerdy.com</link>
	<description>Tech Evangelist Joey deVilla on Shopify, startups, software development, tech news and other nerdy stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:30:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>IE9&#8217;s Hardware-Accelerated Canvas in Action</title>
		<link>http://www.globalnerdy.com/2010/06/24/ie9-s-hardware-accelerated-canvas-in-action/</link>
		<comments>http://www.globalnerdy.com/2010/06/24/ie9-s-hardware-accelerated-canvas-in-action/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 14:39:00 +0000</pubDate>
		<dc:creator>Joey deVilla</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software and Services]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[IE9]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.globalnerdy.com/2010/06/24/ie9-s-hardware-accelerated-canvas-in-action/</guid>
		<description><![CDATA[As announced in yesterday’s posting, Platform Preview 3 of Internet Explorer 9 is out, and it’s faster than snakes on ice. Some of the credit goes to “Chakra”, the new JavaScript engine, and some of it goes to IE9’s hardware acceleration, which bypasses the layers of abstraction between your web app and the “metal” (namely, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p align="center"><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/Xveh8EN6rd0&amp;hl=en_US&amp;fs=1&amp;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Xveh8EN6rd0&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p><strong><a href="http://www.globalnerdy.com/2010/06/23/internet-explorer-9-kicking-ass-and-acid3-with-platform-preview-3/">As announced in yesterday’s posting, Platform Preview 3 of Internet Explorer 9 is out, and it’s faster than snakes on ice.</a></strong> Some of the credit goes to “Chakra”, the new JavaScript engine, and some of it goes to IE9’s hardware acceleration, which bypasses the layers of abstraction between your web app and the “metal” (namely, your browser, and then the underlying OS).</p>
<p><strong><a href="http://www.downloadsquad.com/2010/06/23/internet-explorer-9-vs-chrome-6-developer-video-speed-benchmark/">Download Squad have posted a video showing IE9 Platform Preview 3 blazing past Chrome 6 in side-by-side sessions of the “FishIE Tank” canvas demo.</a></strong> Even on my “medium performance” machine – a Dell Latitude XT2 tablet whose graphics card gets a 3.2 on the Windows Experience Index – I have to push the fish count to 250 before the frame rate drops below 30 fps. Here’s a screenshot taken from that laptop running <a href="http://ie.microsoft.com/testdrive/Performance/FishIE%20tank/Default.html">FishIE Tank</a>, rendering 250 constantly moving and scaling fish sprites between 22 and 29 fps:</p>
<p><a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/fishIEtanksscreenshot.jpg"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="fishIE tanks screen shot" border="0" alt="fishIE tanks screen shot" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/fishIEtanksscreenshot_thumb.jpg" width="600" height="392" /></a></p>
<p>The <a href="http://ie.microsoft.com/testdrive/Performance/MrPotatoGun/Default.html">Mr. Potato Gun</a> canvas test is amusing. You load a reasonable facsimile of a popular toy into a potato gun, pull the trigger and watch the hapless tuber’s components fly all over the screen:</p>
<p><a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/mrpotatogun.jpg"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="mr potato gun" border="0" alt="mr potato gun" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/mrpotatogun_thumb.jpg" width="600" height="392" /></a> </p>
<p>Here’s a demo featuring a more practical use of canvas: <a href="http://ie.microsoft.com/testdrive/Performance/AmazonShelf/Default.html">Amazon Shelf</a>, which presents a bookshelf of some of Amazon.com’s current bestsellers:</p>
<p><a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/amazonshelf1.jpg"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="amazon shelf 1" border="0" alt="amazon shelf 1" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/amazonshelf1_thumb.jpg" width="600" height="392" /></a> </p>
<p>Click on a book in Amazon Shelf to get a better look at its cover:</p>
<p><a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/amazonshelf2.jpg"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="amazon shelf 2" border="0" alt="amazon shelf 2" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/amazonshelf2_thumb.jpg" width="600" height="392" /></a> </p>
<p>Click on that cover and get the publisher’s blurb and customer ratings:</p>
<p><a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/amazonshelf3.jpg"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="amazon shelf 3" border="0" alt="amazon shelf 3" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/amazonshelf3_thumb.jpg" width="600" height="392" /></a> </p>
<p>Take IE9 out for a spin! <a href="http://ie.microsoft.com/testdrive/">Visit the IE9 Test Drive site</a>, download IE9 Platform Preview 3 and hit some canvas-enabled sites.</p>
<p><a href="http://ie.microsoft.com/testdrive/"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="download" border="0" alt="download" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/download1.jpg" width="600" height="100" /></a></p>
<p class="alert"><a href="http://blogs.msdn.com/b/cdndevs/archive/2010/06/24/ie9-s-hardware-accelerated-canvas-in-action.aspx">This article also appears in <em>Canadian Developer Connection</em>.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.globalnerdy.com/2010/06/24/ie9-s-hardware-accelerated-canvas-in-action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 9: Kicking Ass and Acid3 with Platform Preview 3!</title>
		<link>http://www.globalnerdy.com/2010/06/23/internet-explorer-9-kicking-ass-and-acid3-with-platform-preview-3/</link>
		<comments>http://www.globalnerdy.com/2010/06/23/internet-explorer-9-kicking-ass-and-acid3-with-platform-preview-3/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 22:39:28 +0000</pubDate>
		<dc:creator>Joey deVilla</dc:creator>
				<category><![CDATA[Software and Services]]></category>
		<category><![CDATA[IE9]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.globalnerdy.com/2010/06/23/internet-explorer-9-kicking-ass-and-acid3-with-platform-preview-3/</guid>
		<description><![CDATA[Back in March, when the first platform preview of Internet Explorer 9 was released at the MIX10 conference, the IE9 team promised to release new previews of the browser about every eight weeks. Eight weeks after MIX10, they kept their promise and released Platform Preview 2. It featured improved JavaScript performance and better adherence to [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="&quot;nine&quot; spelled using the IE logo for the &quot;e&quot;" border="0" alt="&quot;nine&quot; spelled using the IE logo for the &quot;e&quot;" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/ie9nine.jpg" width="600" height="237" /> </p>
<p><strong>Back in March, when the first platform preview of <a href="http://ie.microsoft.com/testdrive/">Internet Explorer 9</a> was released at the <a href="http://live.visitmix.com/">MIX10</a> conference,</strong> the IE9 team promised to release new previews of the browser about every eight weeks. Eight weeks after MIX10, they kept their promise and released Platform Preview 2. It featured improved JavaScript performance and better adherence to HTML5/CSS/JavaScript standards.</p>
<p><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="A red, green and blue &quot;Pokeball&quot;, each with the IE logo on it" border="0" alt="A red, green and blue &quot;Pokeball&quot;, each with the IE logo on it" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/3ies.jpg" width="600" height="204" /></p>
<p><strong><a href="http://venturebeat.com/2010/06/23/microsofts-next-web-browser-will-display-rich-3d-graphics-demo-videos/">Eight weeks has passed since Platform Preview 2, and it’s time for another release.</a></strong> I’m pleased to announce <a href="http://blogs.msdn.com/b/ie/archive/2010/06/23/html5-native-third-ie9-platform-preview-available-for-developers.aspx">the launch of Internet Explorer 9 Platform Preview 3!</a> <a href="http://ie.microsoft.com/testdrive/">Go ahead, download it</a>, and read on to find out what’s in this new Platform Preview.</p>
<p><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="V8 engine: &quot;Hardware acceleration&quot;" border="0" alt="V8 engine: &quot;Hardware acceleration&quot;" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/hardwareacceleration.jpg" width="600" height="468" /> </p>
<p>Not so long ago, if you were using an application, chances are that it was a desktop native app running on top of your operating system. These days, the odds are that the apps you’re running are web apps, which run inside your browser, which in turn run on top of your OS. Even if you’re not factoring in network latency, that extra layer of abstraction slows things down. Hardware acceleration is one fix to this problem, and that’s a major focus of Platform Preview 3. IE9 takes advantage of your computer’s GPU to render HTML graphics and text with greater speed.</p>
<p><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Rocket-powered 18-wheeler truck: &quot;JavaScript Performance&quot;" border="0" alt="Rocket-powered 18-wheeler truck: &quot;JavaScript Performance&quot;" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/performance.jpg" width="600" height="326" /> </p>
<p>When we say “HTML5”, we’re talking about more than just HTML and the associated styling, but JavaScript as well. Luckily, we’re not only speeding up HTML rendering; we’re also cranking up the JavaScript engine, codenamed “Chakra”, which is even faster in this release.</p>
<p>All this work means that IE9’s performance has been improving steadily since it was first shown (but not released) to the audience at the PDC conference in November. Here are the results of the <a href="http://www2.webkit.org/perf/sunspider-0.9/sunspider.html">SunSpider JavaScript benchmark</a> for a number of IE9 iterations (and a Firefox thrown in for good measure):</p>
<p><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Graph showing the performance of various version of IE9 previews" border="0" alt="Graph showing the performance of various version of IE9 previews" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/ie9performancegraphzoom.jpg" width="600" height="306" /> </p>
</p>
<p>And here’s a “wider” version of that chart, showing more of the Esteemed Competition’s browsers:</p>
<p><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="WebKit SunSpider JavaScript Benchmark results, showing IE9 Platform preview 3 placing nicely" border="0" alt="WebKit SunSpider JavaScript Benchmark results, showing IE9 Platform preview 3 placing nicely" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/sunspiderbenchmark.jpg" width="600" height="407" /> </p>
<p>This puts IE9’s JavaScript performance within 50 milliseconds of the fastest browsers – that’s the time it takes sound to travel less than a couple dozen paces.</p>
<p>As the IE9 team will tell you, while JavaScript speed is important, many sites spend cycles in a browser’s subsystems that aren’t JavaScript. They’re always benchmarking against more than just the SunSpider test, but against some of the most popular sites on the net, a real-world test of a browser’s performance, and they’re not done optimizing yet.</p>
<p><strong>By the bye, IE9’s JavaScript isn’t just fast, it adheres better to the ECMAScript standard</strong> and even implements new features in the 5th edition of the spec, known colloquially as ES5. They include new array and object methods, as well as other language enhancements for working with strings and dates, and the <a href="http://ie.microsoft.com/testdrive/">IE Test Drive site</a> has some demos showing them in action.</p>
<p><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="&quot;Three Keyboard Cats&quot; pardoy of the &quot;Three Wolf Shirt&quot;: &quot;Audio and Video&quot;" border="0" alt="&quot;Three Keyboard Cats&quot; pardoy of the &quot;Three Wolf Shirt&quot;: &quot;Audio and Video&quot;" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/audioandvideo.jpg" width="443" height="450" /> </p>
<p><strong>Speed is just one dimension of browsing – standards is an important one, too!</strong> The support for the <code><strong>&lt;audio&gt;</strong></code> and <code><strong>&lt;video&gt;</strong></code> tags we talked about at MIX10 has been baked into Platform Preview 3.</p>
<p><strong>There <em>is</em> one tag that was conspicuous in its absence,</strong> leaving a number of cynics, wags and conspiracy theorists to jump to the conclusion that it would never be included in IE9. Well, it’s here… </p>
<p><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Vincent Van Gogh: &quot;Canvas!&quot;" border="0" alt="Vincent Van Gogh: &quot;Canvas!&quot;" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/canvas.jpg" width="480" height="629" /></p>
<p>That’s right, Platform Preview 3 introduces the <code><strong>&lt;canvas&gt;</strong></code> tag to Internet Explorer. And it’s hardware-accelerated, too!</p>
<p>We’ve got a number of demos on the Test Drive IE site showing off hardware-accelerated <code><strong>&lt;canvas&gt;</strong></code>, including “Asteroid Belt”, shown below:</p>
<p><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Screenshot of the IE9 &quot;Asteroid Belt&quot; demo" border="0" alt="Screenshot of the IE9 &quot;Asteroid Belt&quot; demo" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/ie9asteroidbeltcanvas.jpg" width="600" height="409" /> </p>
<p>So how does Platform Preview 3 fare on the <a href="http://en.wikipedia.org/wiki/Acid3">Acid3 test suite</a>, the supposed bane of Internet Explorer’s existence? Not too shabby, jumping up to 83 out of a possible 100 (if you recall, Platform Preview 2’s score was 68):</p>
<p><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Acid3 test result screen for IE9 Platform Preview 3: 83/100" border="0" alt="Acid3 test result screen for IE9 Platform Preview 3: 83/100" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/ie9acid383.jpg" width="600" height="503" /></p>
</p>
<p>There’s a lot more in Internet Explorer 9’s Platform Preview 3, but in the spirit of “Show, don’t tell”,<strong> </strong><a href="http://ie.microsoft.com/testdrive/">I’m sending you to the IE Test Drive site to download it and take it for a spin</a><strong></strong><strong>, and <a href="http://connect.microsoft.com/ie">please let us know what you think</a>!</strong></p>
<p><a href="http://ie.microsoft.com/testdrive/"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Download IE9 Platform Preview 3 now!" border="0" alt="Download IE9 Platform Preview 3 now!" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/06/download.jpg" width="600" height="100" /></a></p>
<p class="alert"><a href="http://blogs.msdn.com/b/cdndevs/archive/2010/06/23/internet_2D00_explorer_2D00_9_2D00_kicking_2D00_ass_2D00_and_2D00_acid3_2D00_with_2D00_platform_2D00_preview_2D00_3.aspx">This article also appears in <em>Canadian Developer Connection</em>.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.globalnerdy.com/2010/06/23/internet-explorer-9-kicking-ass-and-acid3-with-platform-preview-3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Netbook Experiment Report #1</title>
		<link>http://www.globalnerdy.com/2010/01/18/netbook-experiment-report-1/</link>
		<comments>http://www.globalnerdy.com/2010/01/18/netbook-experiment-report-1/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 18:53:37 +0000</pubDate>
		<dc:creator>Joey deVilla</dc:creator>
				<category><![CDATA[Hardware and Gadgets]]></category>
		<category><![CDATA[What Joey Did]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Coding Horror]]></category>
		<category><![CDATA[Jeff Atwood]]></category>
		<category><![CDATA[netbooks]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[smartphones]]></category>
		<category><![CDATA[The Netbook Experiment]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.globalnerdy.com/2010/01/18/netbook-experiment-report-1/</guid>
		<description><![CDATA[In case you hadn&#8217;t read my article from Friday, I’m conducting a little experiment this week – I’m seeing what it’s like to use a “netbook“ computer (a Dell Latitude 2100, to be specific) as my primary machine for the whole week. I’m trying this out as a response to Jeff “Coding Horror” Atwood’s article, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img style="border-right-width: 0px; margin: 0px 0px 0px 15px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="the netbook experiment" border="0" alt="the netbook experiment" align="right" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/01/thenetbookexperiment.jpg" width="200" height="240" /><strong>In case you hadn&#8217;t read <a href="http://www.globalnerdy.com/2010/01/15/a-little-netbook-experiment/">my article from Friday</a>, I’m conducting a little experiment this week – I’m seeing what it’s like to use a “netbook“ computer (a <a href="http://www1.ca.dell.com/content/products/productdetails.aspx/laptop-latitude-2100?c=ca&amp;l=en&amp;s=hied">Dell Latitude 2100</a>, to be specific) as my primary machine for the whole week.</strong> I’m trying this out as a response to <a href="http://www.codinghorror.com/blog/archives/001318.html">Jeff “<em>Coding Horror</em>” Atwood’s article</a>, in which he rebuts my argument that the computers we typically classify as “netbooks”, occupy a neither-here-nor-there, worst-of-both-worlds middle ground between smartphones and laptop computers.</p>
<p>As I promised in that earlier article, I’d report on my experiences. This is the first of a number of such reports that I plan to file throughout the week.</p>
<h3>Jeff Atwood Replies</h3>
<p>Jeff saw my article and replied in <em>Global Nerdy</em>, <a href="http://www.globalnerdy.com/2010/01/15/a-little-netbook-experiment/#comment-6644">warning me that I’d be disappointed with my particular netbook’s performance due to its Intel Atom processor</a>:</p>
<blockquote><p><strong>I can guarantee you’ll be unhappy with the Atom CPU.</strong> It’s OK for light web browsing, but that’s it. That’s all. No mas.</p>
<p>I was disappointed, but not surprised, that Intel shows zero interest in making the next-gen Atom faster. Pineview is much better power wise but nil improvement in performance.</p>
<p>The good news is that the CULV Pentiums — like the dual core model in the Acer Aspire 4100 I wrote about — are about 2x faster than the Atom and surprisingly power efficient. Totally acceptable for medium duty laptop stuff.</p>
<p>The key to being satisfied with a netbook is to get out of the Intel Atom ghetto that Intel wants to keep them in…</p>
</blockquote>
<h3>Visual Studio Express 2010: Too Slow</h3>
<p><strong><img style="border-right-width: 0px; margin: 0px 0px 0px 15px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="visual studio 2010 icon" border="0" alt="visual studio 2010 icon" align="right" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/01/visualstudio2010icon.jpg" width="150" height="78" /> As a Developer Evangelist for Microsoft, one of the tools I use most often is Visual Studio,</strong> the integrated development environment that’s typically used for developing applications for Microsoft-based platforms, from the desktop to web applications hosted on Windows Server, to mobile apps for Windows Phone and Zune to console apps for the Xbox 360. I currently run both <a href="http://www.microsoft.com/visualstudio/en-ca/products/professional/default.mspx">Visual Studio 2008</a> and Beta 2 of <a href="http://www.microsoft.com/visualstudio/en-ca/products/2010/default.mspx?CR_CC=100250672&amp;WT.mc_id=SEARCH&amp;WT.srch=1&amp;CR_SCC=100250672">Visual Studio 2010</a>.</p>
<p>Visual Studio 2010 (along with the free Express versions) is the first version of Visual Studio to be built using <a href="http://windowsclient.net/wpf/white-papers/when-to-adopt-wpf.aspx">WPF – Windows Presentation Foundation</a> – the relatively new graphics framework for Windows desktop applications, which makes it easier to give apps the sort of modern appearance that users have come to expect these days. <strong><a href="http://www.microsoft.com/express/future/default.aspx">Visual C# Express 2010 and Visual Web Developer 2010</a> are based on the full version of Visual Studio 2010, and the combination of WPF and the fact that they’re beta 2 and not yet fully optimized proved to be too much for the netbook.</strong> I spent a lot of time waiting as they loaded, created new projects, switched views and built apps – more time than I thought was reasonable. I’ve since uninstalled them.</p>
<h3>Visual Studio Express 2008: Works Just Fine</h3>
<p><img style="border-right-width: 0px; margin: 0px 0px 0px 15px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="visual studio 2008 icon" border="0" alt="visual studio 2008 icon" align="right" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2010/01/visualstudio2008icon.jpg" width="150" height="89" /><strong> On the other hand, <a href="http://www.microsoft.com/express/vcsharp/">Visual C# Express 2008</a> and <a href="http://www.microsoft.com/express/vwd/Default.aspx">Visual Web Developer 2008</a> work just fine.</strong> I’m having no trouble building apps in ASP.NET MVC, Silverlight or XNA and experiencing no slow-downs. It remains to be seen if the final versions of Visual Studio 2010 with their final optimizations will run without the slowdowns.</p>
<p>I’ll post more updates as I have more experiences!</p>
<p class="alert"><a href="http://blogs.msdn.com/cdndevs/archive/2010/01/18/netbook-experiment-report-1.aspx">This article also appears in <em>Canadian Developer Connection</em>.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.globalnerdy.com/2010/01/18/netbook-experiment-report-1/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Taking JavaScript Performance to the Extreme with Thomas Fuchs</title>
		<link>http://www.globalnerdy.com/2009/11/09/taking-javascript-performance-to-the-extreme-with-thomas-fuchs/</link>
		<comments>http://www.globalnerdy.com/2009/11/09/taking-javascript-performance-to-the-extreme-with-thomas-fuchs/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 16:34:30 +0000</pubDate>
		<dc:creator>Joey deVilla</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[web applications]]></category>

		<guid isPermaLink="false">http://www.globalnerdy.com/?p=4662</guid>
		<description><![CDATA[&#34;Extreme JavaScript Performance&#34; (from JSConf.eu, November 7) Take a look at the slides from Extreme JavaScript Performance, a presentation by Thomas Fuchs, creator of the script.aculo.us JavaScript library, collaborator on the book Agile Web Development with Rails and one of the people behind FailCamp. He gave the presentation last week at JSConf.eu in Berlin. In [...]]]></description>
			<content:encoded><![CDATA[<p></p><h3>&quot;Extreme JavaScript Performance&quot; (from JSConf.eu, November 7)</h3>
<p align="center"><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=2449719&amp;stripped_title=extreme-javascript-performance" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=2449719&amp;stripped_title=extreme-javascript-performance" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object></p>
<p><img style="border-right-width: 0px; margin: 0px 0px 10px 15px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="thomas fuchs" border="0" alt="thomas fuchs" align="right" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/11/thomasfuchs.jpg" width="200" height="199" /><strong>Take a look at the slides from <em><a href="http://www.slideshare.net/madrobby/extreme-javascript-performance">Extreme JavaScript Performance</a></em>,</strong> a presentation by <a href="http://mir.aculo.us/"><strong>Thomas Fuchs</strong></a>, creator of the <a href="http://script.aculo.us/"><strong>script.aculo.us</strong></a> JavaScript library, collaborator on the book <a href="http://pragprog.com/titles/rails2/agile-web-development-with-rails"><em>Agile Web Development with Rails</em></a> and one of the people behind <a href="http://failcamp.org/">FailCamp</a>. He gave the presentation last week at JSConf.eu in Berlin.</p>
<p>In the presentation, Thomas looked at six simple things you can do to boost the performance of your JavaScript:</p>
<ul>
<li>Use inline functions instead of function calls. </li>
<li>Embrace the language – using the language’s conventions yields unexpectedly faster code. Instantiate arrays using <code>var myArray = []</code> instead of <code>var a = new Array</code>, and instantiate objects using <code>var myObject = {}</code> instead of <code>var o = new Object</code>. </li>
<li>Unroll your loops! (A trick so old that we covered it when I was in school!) </li>
<li>Cache globals. If you’re going to access a global object, store a local reference and use that instead. </li>
<li>Tune your boolean expressions: in logical “AND” (<code>&amp;&amp;</code>) operations, make the operand most likely to be false the first one. </li>
<li>Watch out for slow constructs such as with blocks, try/catch and features that JIT compilers don’t support well. </li>
</ul>
<p>The presentation includes benchmarks for the four most common JavaScript engines:</p>
<ul>
<li>SpiderMonkey (Firefox 3.5) </li>
<li>JavaScript Core (Safari 4) </li>
<li>JScript (Internet Explorer 8) </li>
<li>V8 (Google Chrome) </li>
</ul>
<p>And yes, he does warn you – at least twice – of the dangers of premature optimization.</p>
<h3>JavaScript Performance Rocks</h3>
<p><a href="http://javascriptrocks.com/performance/"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="JavaScript performance rocks" border="0" alt="JavaScript performance rocks" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/11/JavaScriptperformancerocks.jpg" width="600" height="216" /></a> </p>
<p>If you liked <em>Extreme JavaScript Performance</em>, you’ll love the ebook Thomas co-authored with <a href="http://www.slash7.com/">Amy Hoy</a>, <strong><em><a href="http://javascriptrocks.com/performance/">JavaScript Performance Rocks!</a></em></strong> Actually, it’s more than just a book – it’s <em>four</em> books and a profiling tool:</p>
<ul>
<li><strong>Book 1: Understanding and Measuring Performance (or: “Dude, Where’s My Performance?”)</strong> &#8211; “In which our brave hero or heroine (that&#8217;s you!) apprentices to the cryptic-but-charming Master (that&#8217;s us) and learns how to get into the enemy&#8217;s head—the better to eat it alive, my dear.” </li>
<li><strong>Book 2: Loadtime (or: “The Land of Unicorn Tears”)</strong> &#8211; “Loadtime is a sad time, a time of of enormous, slow-loading assets; of maxed-out request queues; of bloated, waddling DOMs. Of limp white screens. Most of the world&#8217;s worst web performance woes? They live and breed in Loadtime. That&#8217;s why it&#8217;s the Land of Unicorn Tears, because unicorns hate slow web apps just as much as the rest of us. And they have magical horns. So there.“ </li>
<li><strong>Book 3: Runtime (or: “’Cuz Tuning Loops is Hardcore”)</strong> &#8211; “The vast majority of the problems that the vast majority of apps will have can be solved with loadtime fixes of various stripes. But just in case you&#8217;re unique, and special, and have particularly intractable issues—or are just a glutton for punishment—we have written a third booklet, all about speeding up code when it runs.” </li>
<li><strong>Book 4: Interface Coping Strategies (or: “If You Can’t Fix It, Fake It”)</strong> – “Come across a performance problem that you really can&#8217;t fix? Long-running calculations? Slow server you can&#8217;t tune up? <em>If you can&#8217;t make it, fake it.</em> You can make your app <em>feel</em> faster to your customers, even if you can&#8217;t fix the underlying problem. And, let&#8217;s face it, that&#8217;s what your customers care about.” </li>
<li><strong>The DOM Monster profiling tool.</strong> </li>
</ul>
<p><strong><em><a href="http://javascriptrocks.com/performance/">JavaScript Performance Rocks!</a></em> isn’t your ordinary ebook,</strong> with material laid out for a dead-tree book simply cast in PDF form. It was designed from the ground up for onscreen reading, written in an entertaining way to keep you amused and your mind ready to learn, and written in a fun, irreverent way so that you don’t zone out. I know Thomas and Amy personally and have seen them teach; trust me – you want to learn from them.</p>
<p><strong><em><a href="http://javascriptrocks.com/performance/">JavaScript Performance Rocks!</a></em> usually sells for US$49, but there’s a special deal right now – the first 500 books are selling for 10 dollars less &#8212; US$39.</strong> You’ve got two good reason to buy immediately: first, there’s this $10 discount, and second, the US/Canada exchange rate’s pretty good right now (as I write this, the PayPal exchange rate is CAD$1 = US$0.92).</p>
<p>I’ve already ordered my copy.</p>
<p class="alert"><a href="http://blogs.msdn.com/cdndevs/archive/2009/11/09/taking-javascript-performance-to-the-extreme-with-thomas-fuchs.aspx">This article also appears in <em>Canadian Developer Connection</em>.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.globalnerdy.com/2009/11/09/taking-javascript-performance-to-the-extreme-with-thomas-fuchs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

