{"id":2560,"date":"2010-11-10T14:56:23","date_gmt":"2010-11-10T21:56:23","guid":{"rendered":"http:\/\/blog.mozilla.org\/?p=2560"},"modified":"2014-04-20T23:59:42","modified_gmt":"2014-04-21T06:59:42","slug":"fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/","title":{"rendered":"Fasten Your Seatbelts &#8211; Firefox 4 Beta adds new JavaScript power and faster graphics"},"content":{"rendered":"<p>A new release of Firefox 4 Beta is now ready for you to <a href=\"http:\/\/www.firefox.com\/beta\">download and test<\/a>! This release boosts performance in some important ways: it adds the J\u00e4gerMonkey just-in-time (JIT) JavaScript compiler; adds more support for hardware-accelerated graphics, as well as hardware acceleration for Windows XP and Mac OS X; and enables 3D capabilities, without the need for plug-ins, with WebGL.<\/p>\n<p>This means pages load faster, interactions with websites are snappier and the Web is just a lot more fun. For developers, this means you can build richer high-performance Web applications and explore the world of 3D graphics, inherent to the Web.<\/p>\n<p>Also, the  Add-ons APIs for Firefox 4 are now stable, so if you are an add-on developer, now is the time to update your Firefox 3.6-compatible Add-ons to support Firefox 4.<\/p>\n<p><strong>What\u2019s New:<\/strong><\/p>\n<p><strong>Boosting JavaScript Performance with J\u00e4gerMonkey<\/strong><br \/>\nJ\u00e4gerMonkey is an invisible but powerful addition to Firefox 4 Beta. The Firefox SpiderMonkey JavaScript engine now incorporates the new J\u00e4gerMonkey JIT compiler, which, along with enhancements to the existing TraceMonkey JIT and SpiderMonkey&#8217;s interpreter, add up to speeds that really show off today\u2019s rich Web apps. You\u2019ll notice this in faster start-up time, improved page-load speed and the performance of Web apps and games.<\/p>\n<p>Firefox 4 Beta is really fast. Here\u2019s how the latest beta compares with Firefox 3.6 and previous versions of Firefox 4 Beta on various JavaScript benchmark test suites:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/people.mozilla.org\/~lmesa\/Firefox%204%20Beta%20Videos\/graphs_fx4b7.png\" alt=\"Firefox 4 Performance Comparisons\" \/><\/p>\n<p>For more details, see <a href=\"http:\/\/blog.mozilla.org\/dmandelin\/2010\/09\/08\/presenting-jagermonkey\/\">Firefox Engineer David Mandelin\u2019s blog post<\/a>.<\/p>\n<p><strong>Boosting Graphics Performance<\/strong><br \/>\nThis update to Firefox 4 Beta incorporates hardware-accelerated graphics into the final rendering of a website &#8212; referred to as \u201ccompositing.\u201d This enables websites to load and respond faster to rich and interactive content like Web games, apps or photos. On Windows (including Windows XP), hardware acceleration is done using DirectX technology; on Mac OS X, it\u2019s done using OpenGL.<\/p>\n<p>Not all graphics cards and\/or video drivers support hardware acceleration. Read these blog posts from Firefox Developer Joe Drew for more details on the <a href=\"http:\/\/blog.mozilla.org\/joe\/2010\/11\/10\/fx4b7-hwaccel\/\">latest improvements in hardware acceleration<\/a> and to <a href=\"http:\/\/blog.mozilla.org\/joe\/2010\/11\/10\/how-to-tell-if-youre-using-hardware-acceleration\/\">check if your hardware supports this functionality<\/a>.<\/p>\n<p><strong>Bringing 3D graphics to Firefox with WebGL<\/strong><br \/>\nFirefox 4 Beta enables developers to render 3D graphics using WebGL. Web developers can now create spectacular games, vivid graphics and brand-new visual experiences for the Web, without requiring users to install plug-ins! This means that 3D graphics can be mashed-up with other Web technologies to provide amazing experiences that seamlessly integrate with the rest of your website. WebGL in Firefox 4 Beta requires an OpenGL-capable graphics card on Windows or Mac OS X. Additional support for other graphics cards on Windows (specifically Intel GPUs) and Linux will come in future beta releases.<\/p>\n<p><strong>Support for Exquisite Fonts with OpenType<\/strong><br \/>\nGet ready for websites with layouts as elegant as you would find in a typeset book. With support for OpenType font features in Firefox 4 Beta, designers and developers can create sophisticated effects by controlling ligatures, kerning, alternative glyphs, small caps and more. To learn more, read this <a href=\"http:\/\/hacks.mozilla.org\/2010\/11\/firefox-4-font-feature-support\/\">blog post from Firefox Platform Engineer John Daggett<\/a>.<\/p>\n<p><strong>Improved HTML5 Forms<\/strong><br \/>\nFirefox 4 Beta also improves HTML forms. Detailed HTML5 forms are a snap to  create with auto-complete, HTML5 form validation and the new Form API. For more information, see this <a href=\"http:\/\/blog.oldworld.fr\/index.php?post\/2010\/11\/17\/HTML5-Forms-Validation-in-Firefox-4\">blog post from Firefox Developer Mounir Lamouri<\/a>.<\/p>\n<p><strong>Features and Performance<\/strong><br \/>\nFirefox 4 is shaping up to be the fast and fun browser to experience the Web the way you want it. This release is a great step and combines a lot of features that make your travels around the Web fun, smooth and personal (<a href=\"http:\/\/blog.mozilla.org\/blog\/2010\/08\/24\/firefox-4-beta-updated-with-sync-and-panorama\/\">Firefox Sync<\/a>,<a href=\"http:\/\/blog.mozilla.org\/blog\/2010\/08\/24\/firefox-4-beta-updated-with-sync-and-panorama\/\"> Panorama<\/a>, App Tabs and the new Add-ons Manager, just to name a few) with excellent performance. It\u2019s really great.<\/p>\n<p><strong>Thank you!<\/strong><br \/>\nThanks to everyone who has tested the beta so far. Please keep your<a href=\"http:\/\/www.mozilla.com\/en-US\/firefox\/beta\/feedback\/\"> feedback<\/a> coming. By participating in our<a href=\"https:\/\/testpilot.mozillalabs.com\/\"> Test Pilot<\/a> studies (more than a million of you already have!) and using the Firefox 4 Beta Feedback Button (hundreds of thousands of responses so far!), you\u2019re helping us make Firefox better all the time. Tell your friends. Together, we all make Firefox great.<\/p>\n<p>If you\u2019re already testing Firefox 4 Beta, you will be automatically updated to the latest version. There will be additional betas as we approach the final release, so stay tuned for the next release in the coming weeks.<\/p>\n<p>For more information:<br \/>\n\u00b7 \u00a0\u00a0\u00a0\u00a0<a href=\"http:\/\/www.mozilla.com\/firefox\/beta\/\"> Download Firefox 4 Beta<\/a><br \/>\n\u00b7 \u00a0\u00a0\u00a0\u00a0<a href=\"http:\/\/www.mozilla.com\/firefox\/beta\/features\/\"> Learn more about the features<\/a><br \/>\n\u00b7 \u00a0\u00a0\u00a0\u00a0<a href=\"http:\/\/www.mozilla.com\/firefox\/beta\/feedback\/\"> Submit your feedback<\/a><br \/>\n\u00b7 \u00a0\u00a0\u00a0\u00a0<a href=\"http:\/\/www.mozilla.com\/en-US\/firefox\/beta\/faq\/\"> Short, to the point FAQ<\/a><br \/>\n\u00b7 \u00a0\u00a0\u00a0\u00a0<a href=\"http:\/\/www.mozilla.com\/firefox\/4.0b7\/releasenotes\/\"> Long, technical release notes<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A new release of Firefox 4 Beta is now ready for you to download and test! This release boosts performance in some important ways: it adds the J\u00e4gerMonkey just-in-time (JIT) &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/\">Read more<\/a><\/p>\n","protected":false},"author":190,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,66],"tags":[],"coauthors":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Fasten Your Seatbelts - Firefox 4 Beta adds new JavaScript power and faster graphics - The Mozilla Blog (Archived)<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"jsullivan@mozilla.com\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/\",\"url\":\"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/\",\"name\":\"Fasten Your Seatbelts - Firefox 4 Beta adds new JavaScript power and faster graphics - The Mozilla Blog (Archived)\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/blogarchive\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/people.mozilla.org\/~lmesa\/Firefox%204%20Beta%20Videos\/graphs_fx4b7.png\",\"datePublished\":\"2010-11-10T21:56:23+00:00\",\"dateModified\":\"2014-04-21T06:59:42+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/blogarchive\/#\/schema\/person\/86f9cd7c9e0ba6cc68b4a7b62d7b0e89\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/#primaryimage\",\"url\":\"http:\/\/people.mozilla.org\/~lmesa\/Firefox%204%20Beta%20Videos\/graphs_fx4b7.png\",\"contentUrl\":\"http:\/\/people.mozilla.org\/~lmesa\/Firefox%204%20Beta%20Videos\/graphs_fx4b7.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/blogarchive\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fasten Your Seatbelts &#8211; Firefox 4 Beta adds new JavaScript power and faster graphics\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.mozilla.org\/blogarchive\/#website\",\"url\":\"https:\/\/blog.mozilla.org\/blogarchive\/\",\"name\":\"The Mozilla Blog (Archived)\",\"description\":\"Dispatches from the Internet frontier.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.mozilla.org\/blogarchive\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.mozilla.org\/blogarchive\/#\/schema\/person\/86f9cd7c9e0ba6cc68b4a7b62d7b0e89\",\"name\":\"jsullivan@mozilla.com\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/blogarchive\/#\/schema\/person\/image\/2551bb35d9b6f9157e80e2ea6e3167f3\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3be305e682b3008944459233189e8d6e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3be305e682b3008944459233189e8d6e?s=96&d=mm&r=g\",\"caption\":\"jsullivan@mozilla.com\"},\"url\":\"https:\/\/blog.mozilla.org\/blogarchive\/blog\/author\/jsullivanmozilla-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fasten Your Seatbelts - Firefox 4 Beta adds new JavaScript power and faster graphics - The Mozilla Blog (Archived)","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/","twitter_misc":{"Written by":"jsullivan@mozilla.com","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/","url":"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/","name":"Fasten Your Seatbelts - Firefox 4 Beta adds new JavaScript power and faster graphics - The Mozilla Blog (Archived)","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/blogarchive\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/#primaryimage"},"image":{"@id":"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/#primaryimage"},"thumbnailUrl":"http:\/\/people.mozilla.org\/~lmesa\/Firefox%204%20Beta%20Videos\/graphs_fx4b7.png","datePublished":"2010-11-10T21:56:23+00:00","dateModified":"2014-04-21T06:59:42+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/blogarchive\/#\/schema\/person\/86f9cd7c9e0ba6cc68b4a7b62d7b0e89"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/#primaryimage","url":"http:\/\/people.mozilla.org\/~lmesa\/Firefox%204%20Beta%20Videos\/graphs_fx4b7.png","contentUrl":"http:\/\/people.mozilla.org\/~lmesa\/Firefox%204%20Beta%20Videos\/graphs_fx4b7.png"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/blogarchive\/blog\/2010\/11\/10\/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/blogarchive\/"},{"@type":"ListItem","position":2,"name":"Fasten Your Seatbelts &#8211; Firefox 4 Beta adds new JavaScript power and faster graphics"}]},{"@type":"WebSite","@id":"https:\/\/blog.mozilla.org\/blogarchive\/#website","url":"https:\/\/blog.mozilla.org\/blogarchive\/","name":"The Mozilla Blog (Archived)","description":"Dispatches from the Internet frontier.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.mozilla.org\/blogarchive\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.mozilla.org\/blogarchive\/#\/schema\/person\/86f9cd7c9e0ba6cc68b4a7b62d7b0e89","name":"jsullivan@mozilla.com","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/blogarchive\/#\/schema\/person\/image\/2551bb35d9b6f9157e80e2ea6e3167f3","url":"https:\/\/secure.gravatar.com\/avatar\/3be305e682b3008944459233189e8d6e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3be305e682b3008944459233189e8d6e?s=96&d=mm&r=g","caption":"jsullivan@mozilla.com"},"url":"https:\/\/blog.mozilla.org\/blogarchive\/blog\/author\/jsullivanmozilla-com\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/blogarchive\/wp-json\/wp\/v2\/posts\/2560"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/blogarchive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/blogarchive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/blogarchive\/wp-json\/wp\/v2\/users\/190"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/blogarchive\/wp-json\/wp\/v2\/comments?post=2560"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/blogarchive\/wp-json\/wp\/v2\/posts\/2560\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/blogarchive\/wp-json\/wp\/v2\/media?parent=2560"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/blogarchive\/wp-json\/wp\/v2\/categories?post=2560"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/blogarchive\/wp-json\/wp\/v2\/tags?post=2560"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blog.mozilla.org\/blogarchive\/wp-json\/wp\/v2\/coauthors?post=2560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}