Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Side by Side Diff: samples/third_party/dromaeo/web/README

Issue 1576153002: Remove the Dromaeo and TodoMVC samples. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « samples/third_party/dromaeo/web/LICENSE ('k') | samples/third_party/dromaeo/web/Suites.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 This is a port of the Dromaeo benchmark (http://dromaeo.com/) to Dart.
2 See the attached LICENSE file in this directory.
3
4 To run the native Dart versions on Dartium:
5
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)
8 designed to match the JS for speed.
9
10 To run compiled versions on standard browsers:
11
12 (1) Execute python ./generate_dart2js_tests.py to create frog
13 and dart2js variants.
14
15 (2) Use a standard browser to open index-js.html in this directory.
16 By default, this will run JS vs a dart2js compiled Dart version
17 (dart2js:html) designed to match the JS for speed.
18
19 -------------------------------------------------------
20
21 Note, you can run more variants and at a finer granularity. Dart
22 Dromaeo includes the following modes:
23
24 - js : The original JS.
25 - dart : Dart, running natively (Dartium only).
26 - frog : Dart, compiled to JS with Frog.
27 - dart2js : Dart, compiled to JS with dart2js.
28
29 It also includes the following versions for Dart modes:
30
31 - dom : The old deprecated dart:dom.
32 - html : The new dart:html, using fast path APIs to match JS.
33
34 Finally, Dart Dromaeo runs the following suites of benchmarks:
35 - attributes : Setting and getting DOM node attributes.
36 - modify : Creating and injecting DOM nodes into a document.
37 - query : Querying DOM elements in a document.
38 - traverse : Traversing a DOM structure.
39
40 You can specify a disjunction of conjunctions from the three buckets
41 above. Examples:
42
43 To run the attributes suite on JS, Dartium, and Dart2JS, load:
44
45 - index.html?js&attributes|dart&attributes&html|dart2js&attributes&html
46
47 To run the query suite with Dart2JS, load:
48
49 - index-js.html?dart&query&html
50
51 To run all tests in Dartium, load:
52
53 - index.html?js|dart|frog|dart2js
54
55 To run all tests (except the native Dart) in a regular browser, load:
56
57 - index-js.html?js|frog|dart2js
OLDNEW
« no previous file with comments | « samples/third_party/dromaeo/web/LICENSE ('k') | samples/third_party/dromaeo/web/Suites.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698