Browsing articles from "September, 2007"

Safari roooooars!

Sep 18, 2007   //   by Tuomas Artman   //  10 Comments

SafariiconsRooooar!

I’ve been optimizing the performance of one of our larger site productions the last week and took quite good care at making page elements cache correctly using expiry dates for each element type individually and gzipping any content that would benefit from it.

Well, today was time to test the performance of the front-page on multiple browsers. The site is really very complex. Initially we load 130kb of (unzipped) JavaScript and make 2200 method or function calls before anything is rendered. I tested the overall performance with and without a primed cache and must say Safari’s performance blew me away.

For instance, IE7 takes 300 milliseconds to run the initialization procedures of the JavaScript classes.

Safari: 28 milliseconds.

What? Ten times faster? Even Firefox, which I to this day thought to have the best JavaScript engine of all browsers, takes 89 milliseconds.

Initial page load times on Safari seemed to be a little better than on Firefox, although lacking extensions like Firebug, I was not able to test that scientifically.

But what most impressed me was page load times with a primed cache. The site is designed so that all static elements like CSS or images have expiration dates, so essentially all that needs to be loaded when navigating back to the front-page would be the dynamically generated HTML. And looking at the server logs I confirmed that none of the browsers actually requested or revalidated any of the static elements.

Still Firefox and IE take about one second to render the page.

Safari: Instant. Really, you have to experience it to believe it. I’ve never experienced anything like it on any browser before. You hit the link and boom – its there. No delay whatsoever (well, ok, maybe the 28 milliseconds which it executes the JS in).

And the best part? I’m running Safari on Windows Vista on my MacBook Pro. Yep, hell has frozen over.

10 Comments

  • Why in god’s name would you make 2200 function calls?

  • Can you remove my email address from the comment above? I assumed it was only needed for posting and would not be displayed on the page.
    Thanks.

  • Note that the OS you are running this tests on matters. You really have 6 ‘separate’ browsers to test:
    1. IE (Windows)
    2. IE (Mac)
    3. Safari (Windows)
    4. Safari (Mac)
    5. Firefox (Windows)
    6. Firefox (Mac)
    And even more if you include Linux, Opera, etc. I imagine you will find that the 6 trials listed above will produce 6 different timings.

  • Sure, but IE Mac? That’s sooo last century.

  • What about Opera 9.5?

  • Ben, we’re using a somewhat sophisticated JS framework which binds certain JS classes to DOM id’s, classes and tags. For example, if you want a image to act as a button (highlight fade’s in on rollover, …) you can accomplish this by adding the “button” class-name to an image element and parametrize it using hidden inputs. We have about 100 of these classes ranging from buttons to form input validation which are all applied during initialization. That’s where the 2200 method or function calls come from.
    Mailboo, haven’t tried out Opera yet, but my guess is that it’ll be right between Safari and Firefox.

  • Good aftenoon !
    http://renerpal.com
    There was merrily!
    I wish you health!

Leave a comment

Flash/Flex developers wanted

Sep 11, 2007   //   by Tuomas Artman   //  6 Comments

Once again one of these posts… We’re looking experienced Flash & Flex developers to join our team of brilliant people. I can without hesitation say that we’ve got the best Flash developers in Finland and we’re looking for more!

So if you’re are, or are looking to become one of the leading Flash and/or Flex developers in the Nordics Europe the World, drop me an email ( tuomas.artman(at)valve.fi ) with some references and a short bio. And oh, you would need to relocate to Helsinki, but the winter is not as bad as they say… Err, who am I kidding… It is.

We offer good compensation, great projects, even better colleagues and definitely great challenges and a fantastic learning experience.

6 Comments

  • hi,
    do u also accept candidates from india? please let me know.
    Thanks,
    vidya

  • We sure do!

  • i am a computer engineer and flex developer..
    making now an advanced e-commerial flex project.
    want to ask what about the salary?

  • It’s good;)

  • I am a web designer worked with flash and flex interacting with PHP and MYSQL.

  • Hi
    I’m from Russia.
    I’m worked with flex interaction with Java (Spring, web service) using WebOrb

Leave a comment

AUG Finland meeting this friday

Sep 4, 2007   //   by Tuomas Artman   //  1 Comment

The next Adobe User Group Finland gathering will take place next Friday at our brand new office café. This time the subject is ColdFusion and presented by Tero Pikala, a CF guru and Flex developer. Tero will give us an overview of ColdFusion and tell us about the integration possibilities with Flash and Flex.

Time: Friday 7th of September at 17.00
Place: Valve, Pieni Roobertinkatu 7, 00130 Helsinki

Join in on the fun!

1 Comment

  • Mmm… Nice site. I’m added you site to digg and stumble. All must know about it!
    Regards from LA, USA.

Leave a comment