Nowadays, it is not possible to reach the majority of users on the internet using Flash Player. Mobile devices that support Flash Player are dwindling, support for a standard Linux plugin has stopped and Windows 8 is going to only provide Flash Player support for a whitelisted subset of the internet.
NME and Flambe are both Haxe-based frameworks that can support both HTML5 and Flash Player, so you can provide the best experience to users, everywhere. Today, Flambe is also getting support for using NME as a backend, so that it will be possible to use either framework to also target Windows, Mac, Linux, iOS, BlackBerry, Android and webOS natively.
Iain Lobb created the “PirateMark” benchmark as an alternative to the BunnyMark benchmark you may be familiar with already. Unlike BunnyMark, PirateMark uses a smaller number of very large objects, with heavy amounts of rotation. It was originally created to benchmark HTML5 canvas performance, which we are using it for now.
Flambe is a “web first” framework, designed to maximize performance in the browser, while also supporting Flash and now NME for native platforms. NME is designed to mirror the Flash API and supports a broad variety of platforms. Depending upon your needs, Flambe and NME are both suitable for HTML5 games.
The source code is available at http://github.com/jgranick/PirateMark. It should work properly with the public release of NME, but in order to test with Flambe you will need development builds of NME and Flambe. Integrated compatibility between NME and Flambe should be coming in the next release of both frameworks.