Performance Articles
-
An easier way of using polyfills
Polyfills are a fantastic way to enable the use of modern code even while supporting legacy browsers, but currently using polyfills is too hard, so at the FT we’ve built a new service to make it easier. We’d like to invite you to use it, and help us improve it. More pictures, they said. So […]
-
Generational Garbage Collection in Firefox
Generational garbage collection (GGC) has now been enabled in the SpiderMonkey JavaScript engine in Firefox 32. GGC is a performance optimization only, and should have no observable effects on script behavior. So what is it? What does it do? GGC is a way for the JavaScript engine to collect short-lived objects faster. Say you have […]
-
How fast is PDF.js?
Hi, my name is Thorben and I work at Opera Software in Oslo, not at Mozilla. So, how did I end up writing for Mozilla Hacks? Maybe you know that there is no default PDF viewer in the Opera Browser, something we would like to change. But how to include one? Buy it from Adobe […]
-
jsDelivr – The advanced open source public CDN
This is a guest post by Dmitriy Akulov and his project jsDelivr. – Editor’s note. As a developer you are probably aware of Google Hosted Libraries. Google offers an easy and fast way to include 12 of the most popular js libraries in your websites. But what if you are a webmaster and you want […]
-
Optimizing your JavaScript game for Firefox OS
When developing on a quad core processor with 16 gigabytes of RAM you can easily forget to consider how it will perform on a mobile device. This article will detail some best practices and things to consider for moving a game to Firefox OS or any similar hardware target. Making the best of 256 Mb […]
-
Performance with JavaScript String Objects
This article aims to take a look at the performance of JavaScript engines towards primitive value Strings and Object Strings. It is a showcase of benchmarks related to the excellent article by Kiro Risk, The Wrapper Object. Before proceeding, I would suggest visiting Kiro’s page first as an introduction to this topic. The ECMAScript 5.1 […]
-
No Single Benchmark for the Web
Google released a new JavaScript benchmark a few days ago called Octane. New benchmarks are always welcome, as they push browsers to new levels of performance in new areas. I was particularly pleased to see the inclusion of pdf.js, which unlike most benchmarks is real-world code, as well as the GB Emulator which is a […]
-
Getting snappy – performance optimizations in Firefox 13
Back in the fall of 2011, we took a targeted look at Firefox responsiveness issues. We identified a number of short term projects that together could achieve significant responsiveness improvements in day-to-day Firefox usage. Project Snappy kicked off at the end of the year with the goal of improving Firefox responsiveness. Although Snappy first contributed […]
-
Firefox in 2011 – Firefox plans for 2012
A lot of people are interested in Firefox, the progress that is being made and what we plan to do. Therefore, I’d like to outline the things we accomplished with Firefox in 2011, and what we have already done, and plan to do, in 2012.
-
There is no simple solution for local storage
TL;DR: we have to stop advocating localStorage as a great opportunity for storing data as it performs badly. Sadly enough the alternatives are not nearly as supported or simple to implement. When it comes to web development you will always encounter things that sound too good to be true. Sometimes they are good, and all […]