Posts Tagged ‘JavaScript’

How fast is Internet Explorer 9 compared to Firefox, Chrome, and Opera

Monday, September 20th, 2010 by Christian Mattix

There has been a lot of activity in the browser market over the past few months. The most recent step forward is Microsoft’s release of Internet Explorer (IE) 9. Microsoft is touting improvements with IEs handling of web standards, graphics, and JavaScript. JavaScript has become the de-facto standard for web designers of dynamic and highly interactive websites. Since so many websites use JavaScript, it is very important for browsers to be able to process it very quickly. In this entry I’m going to compare the JavaScript performance of Microsoft IE8, Microsoft IE9, Mozilla Firefox (v3.6), Google Chrome, and Opera using the SunSpider JavaScript Benchmark available at:

In order to provide the most equal environment for the tests, I ran the benchmarks on the same machine (Windows 7 Ultimate running within a VMWare virtual machine), with no other applications running, right after a fresh reboot. I then directly navigated to the benchmark site. For the purposes of this examination, I’ll only discuss the total results of the benchmark, however, the site gives very fine grain details of the results of the test.

Here are the results of the examination:

Browswer:                     Time To Execute:
===================           =============================
IE 8 (v8.0.7600.16385)        4089.6ms +/-  2.4%
Firefox (v3.6.10)             1186.8ms +/-  7.8%
Opera (v10.62 b3500)          525.4ms +/- 21.9%
Chrome (v6.0.472.62)          370.4ms +/-  4.8%
IE 9 (v9.0.7930.16406)        647.6ms +/-  9.5%

From these results, we can see that Microsoft has greatly improved the performance of its JavaScript engine (they have cut the benchmark time in half). Though not as fast as Opera or Chrome, which are both highly optimized for JavaScript performance, IE9 has made significant inroads. The release of IE9 has raised the bar for the Mozilla community to continue to improve Firefox. Considering IE9 is still in a beta state, one can only imagine that the performance will only improve.

How did Microsoft improve its JavaScript Engine? According to Microsoft, they were able to make the improvements by using the following techniques:

JavaScript Background Compilation: Many script engines today start with an optimized interpreter, and compile individual sections or methods into machine code to run faster. Others always compile JavaScript into machine code before running it, often compiling each method as it is needed. Both these approaches have to trade off quality or quantity of compiled code against execution speed. Generating high-quality code for today’s applications requires time to optimize the compiled code.

IE9 includes a fast interpreter for running pages quickly on startup. For compilation, we have a background code generator that compiles script code, and we push compiled methods back into the application. Because the code generator runs in the background, it can take advantage of today’s advanced multi-core machines and generate higher-quality code, while not blocking initial execution of the application.

Type Optimizations: One of the most important aspects of enabling performance on JavaScript is to create an efficient type system. The IE9 script engine uses many of the techniques common in modern dynamic language implementations, including type representation, polymorphic inline caching (also called type evolution or hidden classes), and efficient implementation of machine types.

Fast Interpreter: For pages where immediate execution in the interpreter is important, IE9 includes a new interpreter which uses a register-based layout, efficient opcode, and use of type optimizations.

Library Optimizations: The performance of JavaScript pages and applications depends heavily on key aspects of the script runtime library: strings, arrays, objects, and regular expressions. We are investing in these areas for IE9. These libraries require careful tuning for the real Web – one example is the execution of regular expressions. Most script engines today use compilation and optimization techniques to run regular expressions faster, and IE9 includes an improved regular expression implementation. In analyzing real world Web sites, we find a set of patterns used frequently, but we also find unique cases – for example, a site that creates hundreds of regular expressions and uses very few of them – we will continue to use this data to tune our regular expression implementation and other library features for IE9.

Considering IE9’s support for modern standards such as HTML5 and CSS3, and GPU support for graphics Microsoft has made a great step forward in the “Browser wars.”

To learn how to take best advantage of the use of modern technology combined with inspired ideas to bring your business to the next level, contact us at Force 5. We’d be happy to help!


Top hats are also popular during New Year’s Eve
rob kardashian weight loss Weight Loss Solutions and Lose Weight Fast

he died of a urinary tract infection
quick weight lossThe 5 Worst Lyrics Ever to Ruin Good Rap Songs

From Idea to (re)Invention

Friday, April 10th, 2009 by Nevin McElwrath

There are some exciting things happening here at Force 5 Media. One of which, is exciting for me, since it involves self-discovery and insight for the purpose of solely helping our clients realize their goals. There is an old saying, “In order to see where you are going, you must know where you’ve been.” This goes for not only our clients, but ourselves. We have something in common with our clients; our need and want for success. We are on a journey; the more we realize where we have been, the more focused we can become in realizing our goals.

There’s been some reinventing going on at Force 5 Media. This journey is represented in a new page inviting clients to join us on this new journey we are embarking on. Join us on our journey. This was a fun project to work on due to the wide variety of mediums involved as well as the awesome ideas that were generated by the Force 5 team. Sure, there’s been a fair share of Willie Nelson (On the Road Again), Rascal Flatts (Life is a Highway), and B.B. King (Key to the Highway) parodies. Some humorous, some unfortunate. Over all of the tears, we enjoyed the creative brainstorming and coming up with some amazing ideas. On the “tech/creative” side of this project, we played with Flash, 3D, Photoshop, PHP, and Javascript. What’s even more exciting is the direction this project is headed. Over the next few weeks, our journey page will evolve with different messages, animations and hidden treasures – eventually revealing our new destination.

Stay tuned – it’s a wide open road ahead.

How To Get Jennifer Aniston Hair
christina aguilera weight loss Great Bear Golf Country Club Hotels

glacier arizona cross country snowboard paths
snooki weight lossIs the Dollar Too Big to Fail
Top fever JBL instead 610 bluetooth headset
black porn finest renew your look for thoroughly clean

8 Chanel Large Soft Lambskin Tote Bag
cartoon porn acm honours 2011 red-colored carpeting taste

Add More Style to Your Personality with Trendy Fashion Accessories
girl meets world Goodwill stores offer a lot of branded clothes

Lingerie under my dress help for Valentine’s Day
gay porn quarter 2014 answers

Top 4 Celebrity Lace Wig Styles
quick weight loss usually a decade

Buying Or Selling Real Estate On Grand Lake Or Surrounding Areas
miranda lambert weight loss will hurt revenues

Term Real Estate Investors Sacrifice Short
christina aguilera weight loss She spits when she is embarrassed

3 Big Reasons Why Silver Jewelry is Better Than Gold Jewelry
weight loss tips both of West Los Angeles