| OLD | NEW |
| 1 This is a port of the Dromaeo benchmark (http://dromaeo.com/) to Dart. | 1 This is a port of the Dromaeo benchmark (http://dromaeo.com/) to Dart. |
| 2 See the attached LICENSE file in this directory. | 2 See the attached LICENSE file in this directory. |
| 3 | 3 |
| 4 To run the native Dart versions on Dartium: | 4 To run the native Dart versions on Dartium: |
| 5 | 5 |
| 6 (1) Use a Dartium chrome binary to open index.html in this directory. | 6 (1) Use a Dartium chrome binary to open index.html in this directory. |
| 7 By default, this will run JS vs a native Dart version (dart:html) | 7 By default, this will run JS vs a native Dart version (dart:html) |
| 8 designed to match the JS for speed. | 8 designed to match the JS for speed. |
| 9 | 9 |
| 10 To run compiled versions on standard browsers: | 10 To run compiled versions on standard browsers: |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 - js : The original JS. | 24 - js : The original JS. |
| 25 - dart : Dart, running natively (Dartium only). | 25 - dart : Dart, running natively (Dartium only). |
| 26 - frog : Dart, compiled to JS with Frog. | 26 - frog : Dart, compiled to JS with Frog. |
| 27 - dart2js : Dart, compiled to JS with dart2js. | 27 - dart2js : Dart, compiled to JS with dart2js. |
| 28 | 28 |
| 29 It also includes the following versions for Dart modes: | 29 It also includes the following versions for Dart modes: |
| 30 | 30 |
| 31 - dom : The old deprecated dart:dom. | 31 - dom : The old deprecated dart:dom. |
| 32 - html : The new dart:html, using fast path APIs to match JS. | 32 - html : The new dart:html, using fast path APIs to match JS. |
| 33 - htmlidiomatic : The new dart:html, using nicer APIs at potential performance c
ost. | |
| 34 | 33 |
| 35 Finally, Dart Dromaeo runs the following suites of benchmarks: | 34 Finally, Dart Dromaeo runs the following suites of benchmarks: |
| 36 - attributes : Setting and getting DOM node attributes. | 35 - attributes : Setting and getting DOM node attributes. |
| 37 - modify : Creating and injecting DOM nodes into a document. | 36 - modify : Creating and injecting DOM nodes into a document. |
| 38 - query : Querying DOM elements in a document. | 37 - query : Querying DOM elements in a document. |
| 39 - traverse : Traversing a DOM structure. | 38 - traverse : Traversing a DOM structure. |
| 40 | 39 |
| 41 You can specify a disjunction of conjunctions from the three buckets | 40 You can specify a disjunction of conjunctions from the three buckets |
| 42 above. Examples: | 41 above. Examples: |
| 43 | 42 |
| 44 To run the attributes suite on JS, Dartium, and Dart2JS, load: | 43 To run the attributes suite on JS, Dartium, and Dart2JS, load: |
| 45 | 44 |
| 46 - index.html?js&attributes|dart&attributes&html|dart2js&attributes&html | 45 - index.html?js&attributes|dart&attributes&html|dart2js&attributes&html |
| 47 | 46 |
| 48 To run the fast and idiomatic versions of the query suite with | 47 To run the query suite with Dart2JS, load: |
| 49 Dart2JS, load: | |
| 50 | 48 |
| 51 - index-js.html?dart&query&html|dart&query&htmlidiomatic | 49 - index-js.html?dart&query&html |
| 52 | 50 |
| 53 To run all tests in Dartium, load: | 51 To run all tests in Dartium, load: |
| 54 | 52 |
| 55 - index.html?js|dart|frog|dart2js | 53 - index.html?js|dart|frog|dart2js |
| 56 | 54 |
| 57 To run all tests (except the native Dart) in a regular browser, load: | 55 To run all tests (except the native Dart) in a regular browser, load: |
| 58 | 56 |
| 59 - index-js.html?js|frog|dart2js | 57 - index-js.html?js|frog|dart2js |
| OLD | NEW |