Slashdot Mirror


Freeciv As Benchmark of HTML5 Canvas Javascript Performance

Andreas(R) writes "The Freeciv.net crew has benchmarked their web client, which is a rich web application using the HTML5 canvas element. This shows how fast Firefox, Google Chrome, Safari and Internet Explorer perform using the latest HTML5 web standards."

16 of 246 comments (clear)

  1. Not fast by Toonol · · Score: 3, Informative

    Worth noting that Chrome, as the fastest, is still only eight frames per second, which would be dreadful even for a turn-based game. I didn't see where they said how powerful of a machine they ran it on, so I assume it's a moderately powerful pc. Still, it's within an order of magnitude of where it needs to be, so it'll probably be running smoothly within a year or two.

    1. Re:Not fast by maitai · · Score: 2, Informative

      I'd assume it's not. I ran their benchmark with Chrome on Win 7 and my Sony laptop and got 43.8ms as the result which is quite a bit faster than they listed as their result.

      I also got 149.72 with FF 3.6, which again is quite a bit faster.

    2. Re:Not fast by Anonymous Coward · · Score: 3, Informative

      Most people like to scroll around the map a bit while they're planning their turn . . .

  2. Re:Opera? by biryokumaru · · Score: 4, Informative

    They had rendering issues with Opera's implementation of one of the functions they were using. One of the Opera developers is actively helping them fix it, which is pretty impressive on Opera's side.

    --
    When you're afraid to download music illegally in your own home, then the terrorists have won!
  3. Re:IE8 performs awesome, as usual by cbhacking · · Score: 5, Informative

    Clearly you didn't even read the article, just looked at numbers. IE should not have even been tested - it does not support HTML5 canvas elements! They worked around this using a bunch of really ugly hacks that completely destroyed the performance, but honestly they'd have been better off simply saying "it doesn't work, we'll wait until IE9, thanks for giving us Acid2 compatibility but you've got a long way to go!"

    IE8 actually works pretty damn well for much of the modern web; it's far from the fastest but it's fast enough for most, it is compatible with CSS2 and the other standards most web developers still use, and it has fixed most of the issues that people have cursed at IE over for so long. However, it has very little support for new standards - its CSS3 is still limited, and as far as I know it supports no HTML5 at all. Compared to the rapid improvement of other browsers, the IE team had better be on their toes or they'll be left far behind in the dust.

    --
    There's no place I could be, since I've found Serenity...
  4. Re:IE8 performs awesome, as usual by Anonymous Coward · · Score: 4, Informative

    Worth pointing out that HTML5 isn't a standard yet. It's still in draft for the next couple years.

  5. Re:That's hardly a benchmark by El_Muerte_TDS · · Score: 3, Informative

    QuakeLive doesn't run in the browser. It is just the Quake 3 engine wrapped into a browser plugin.

  6. Re:IE8 performs awesome, as usual by Anonymous Coward · · Score: 1, Informative

    And people who are tired of flash dominating the web, yet performing abysmally for video.

  7. Re:bias by Sycraft-fu · · Score: 5, Informative

    'Cause Vista's not as slow as people claim. I've never seen any evidence, either in my testing or online, that Vista ran programs any slower than XP. Most of Vista's slowness rep came from two things:

    1) Lots of messing with the disk, particularly on boot. Vista wanted to cache a ton of shit in memory, probably to aggressively, as well as other stuff. Could lead to a system being sluggish to respond to users when it first started.

    2) People running it on crap hardware. Vista has a much higher minimum bar than XP for good performance. You really want a dual core and 2GB minimum for a nice system (as opposed to a P4 and 1GB being fine for XP). Lots of people had older systems, tried the new OS, and got mad because it didn't work well. Duh. Newer software needs more resources.

    So it doesn't surprise me that a pure app test worked fine on Vista. It was never slow at that.

  8. Firefox 3.5 outperformed Firefox 3.0 by Billly+Gates · · Score: 4, Informative

    SuSE OpenLinux had an old 3.0.7 version of Firefox while Vista had a newer version.

    Firefox 3.5 has a totally rewritten javascript engine from scratch. It uses some dynamic tree mathmatical aglorithms to perform operations many times faster and has support for javascript functions mapped in ram before execution. Vista used Firefox 3.5 while SuSE had Firefox 3.0.7 installed without the new javascript engine. Firefox 3.0.x was a ram hog compared to 3.5 too.

    I also imagine Safari would execute on MacOSX much better than Windows since its designed for it. Itunes is kind of proof as it sucks on Windows.

  9. Re:Graphics by Endymion · · Score: 2, Informative

    in stylish or usercss or whatever:

    @namespace url(http://www.w3.org/1999/xhtml);

    @-moz-document domain("slashdot.org") {
      .share, .sharebar {
        display: none !important;
      }
    }

    --
    Ce n'est pas une signature automatique.
  10. Re:bias by pandrijeczko · · Score: 2, Informative

    I can admit to never having used Vista.

    But I have noticed on the back of pretty much all of the boxed PC games at my local Game store that the each game's requirements now quote differently depending on whether you're running XP or Vista - and the difference for Vista is usually an additional 0.5GB of memory plus a slightly faster CPU.

    So it does suggest that Vista has considerably more overhead than XP.

    --
    Gentoo Linux - another day, another USE flag.
  11. In Excel, no less! by KlaymenDK · · Score: 3, Informative

    Space Invaders, Monopoly, ... oh my.
    http://gamesexcel.com/games-excel-vba.html

  12. Freeciv.ORG by Lord+Satri · · Score: 2, Informative

    The summary and the freeciv.net main page (I'm sure it's somewhere else but that's my point) doesn't mention this: it's based on freeciv.org.

    (also strange; the freeciv.org site only mention freeciv.net in their 'community news', not 'project news', so it really seems "distinct projects", they're not officially promoting the other option, yet?)

  13. Re:IE8 performs awesome, as usual by Simetrical · · Score: 2, Informative

    Firefox 3.0 doesn't support HTML5 either, but they've included that in the test, and it performs a lot better than IE8.

    Firefox has supported <canvas> since 1.5, so it was perfectly fair to include 3.0.

    --
    MediaWiki developer, Total War Center sysadmin
  14. Re:IE8 performs awesome, as usual by Simetrical · · Score: 2, Informative

    Worth pointing out that HTML5 isn't a standard yet. It's still in draft for the next couple years.

    Canvas is at last call at the WHATWG. Look at the little tags at the side: "Last call for comments". This means that the WHATWG (a standards organization) believes that part of the spec is stable and is asking for implementations.

    Canvas is also a de facto standard. Gecko, WebKit, and Presto have all implemented it more or less interoperably for an awful long time now: Firefox since 2005, for instance.

    You are correct to say that HTML5 is not yet a W3C standard, unless you call Working Drafts "standards". But the W3C is not the only standards body out there.

    --
    MediaWiki developer, Total War Center sysadmin