<?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>Maister.org.uk &#187; javascript performance</title>
	<atom:link href="http://www.maister.org.uk/blog/tag/javascript-performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.maister.org.uk/blog</link>
	<description>Assorted Ramblings.</description>
	<lastBuildDate>Mon, 23 Jan 2012 16:44:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>JS++</title>
		<link>http://www.maister.org.uk/blog/2008/09/21/js/</link>
		<comments>http://www.maister.org.uk/blog/2008/09/21/js/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 12:18:04 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Internets]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE CSS hacks]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[javascript performance]]></category>

		<guid isPermaLink="false">http://www.maister.org.uk/blog/2008/09/21/js/</guid>
		<description><![CDATA[The recent massive improvements in JavaScript performance are absolutely awesome for a number of reasons: When I use a Web app, it will be much faster, and more responsive Microsoft and Adobe should be scared, as JS may just prove to be the true open-source competitor to Silverlight and AIR. It will pave the way [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://robert.accettura.com/blog/2008/09/19/death-to-squirrelfish-long-live-squirrelfish-extreme-sfx/">recent</a> <a href="http://andreasgal.com/2008/09/03/tracemonkey-vs-v8/">massive</a> <a href="http://ejohn.org/blog/javascript-performance-rundown/">improvements</a> in JavaScript performance are absolutely awesome for a number of reasons:</p>
<ol>
<li>When I use a Web app, it will be much faster, and more responsive <img src='http://www.maister.org.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>Microsoft and Adobe should be scared, as JS <a href="http://www.builderau.com.au/news/soa/Chrome-s-jittered-JavaScript-kills-Silverlight-/0,339028227,339291837,00.htm?feed=rss">may just prove</a> to be the true open-source competitor to Silverlight and AIR.</li>
<li>It will pave the way for more advanced, cross-platform Web apps.</li>
<li>Hopefully, as the speed difference between old and new browsers becomes more apparent, it will speed up the switchover from the horrors of IE6.  New apps will start to support IE6 less and less, as the performance hit will be unacceptable.</li>
<li>It could help attempts to piggyback certain technologies that Microsoft will probably never support (such as Canvas), onto IE.  Of course, this assumes that MS keeps up with the curve regarding JS performance.</li>
</ol>
<p>And on a completely unrelated note, I found a <a href="http://www.webdevout.net/css-hacks">cool page</a> that beautifully sums up the options for IE when it comes to exploiting CSS hacks.  Whilst I knew most of the hacks on the page, this inline rule was quite interesting:</p>
<p>style=&#8221;*background:red!important;background:white!important;background:blue;&#8221;</p>
<p>The first background rule applies to IE7 only, the second to all other (more advanced) browsers, and the last one to IE6 only.  While inline CSS is not good for obvious reasons, I have found this hack to be quick and useful when restricted by bad design in some of our older sites.</p>
<p>Edit: This can also be used in external CSS files, as shown by this <a href="http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/">neat tutorial</a>.  Furthermore, it shows that we can combine the star hack (applies to IE6 and 7) with the underscore hack (applies only to IE6), to produce a more streamlined version of this style attribute:</p>
<p>style=&#8221;*background:red;background:white;_background:blue;&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maister.org.uk/blog/2008/09/21/js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MmmmmmWordPress&#8230;</title>
		<link>http://www.maister.org.uk/blog/2007/03/08/mmmmmmwordpress/</link>
		<comments>http://www.maister.org.uk/blog/2007/03/08/mmmmmmwordpress/#comments</comments>
		<pubDate>Thu, 08 Mar 2007 12:09:16 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Internets]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[javascript performance]]></category>
		<category><![CDATA[this site]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.maister.org.uk/blog/?p=3</guid>
		<description><![CDATA[Ok, so new blog set up with minimal customisation (everything is likely to change) and the first theme that validates properly with HTML Tidy (it also happens to be nice and green). This is the first speed comparison of the new native JavaScript GetElementsByClassName functionality which is built into what will become Firefox 3. Very [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so new blog set up with minimal customisation (everything is likely to change) and the first theme that validates properly with HTML Tidy (it also happens to be nice and green).</p>
<p><a href="http://ejohn.org/blog/getelementsbyclassname-speed-comparison/">This</a> is the first speed comparison of the new native JavaScript GetElementsByClassName functionality which is built into what will become Firefox 3.  Very impressive, it should mean Fx3 will actually feel significantly faster when poking around sites, especially those with lots of JS.</p>
<p>Picture from the above link:</p>
<p><img src="http://ejohn.org/apps/classname/classname-speed.png" alt="GetElementsByClassName Speed Comparison" width="500" height="330" /></p>
<p>On a side note, I&#8217;m very impressed with WordPress so far, it&#8217;s all very well laid out, nice and intuitive.  You can edit anything you want so eventually I&#8217;ll be hacking up a theme and hopefully integrating the blog with the rest of the (not yet existent) site.  Oh, and the Dreamhost installation really was only one click!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maister.org.uk/blog/2007/03/08/mmmmmmwordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

