You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`$EMSCRIPTEN`: Directory containing the built emscripten compiler (e.g., `~/src/emcscripten`)
94
-
-`$LLVM`: Directory containing the `llvm` binaries (e.g., `/usr/local/bin`)
95
-
-`$NACL_SDK`: Directory containing the NaCl SDK version you want to use (e.g., `/opt/nacl_sdk/pepper_26`)
96
-
-`$CROSSBRIDGE`: (e.g., `/opt/crossbridge/sdk`)
100
+
-`$NACL_SDK_ROOT`: Directory containing the NaCl SDK version you want to use (e.g., `/opt/nacl_sdk/pepper_49`)
97
101
98
102
99
103
## Targets:
100
104
101
105
- /c:
102
106
- c: `make -f bench2d.mk; bench2d`
103
-
- asm.js: `make -f bench2d.asmjs.mk` (open bench2d_asm.js.html -- in Firefox nightly to see asm.js optimizations)
104
-
- nacl: `make -f bench2d.nacl.mk; python httpd.py` (open http://localhost:5103/bench2d_nacl.html in Chrome -- it won't work from a file:// url)
105
-
- crossbridge: `./make-crossbridge; crossbridge_build/bench2d_crossbridge` (or open crossbridge_build/bench2d_crossbridge.swf in the standalone Flash Player)
107
+
- pnacl: `make -f bench2d.pnacl.mk; python httpd.py` (open http://localhost:5103/bench2d_nacl.html in Chrome -- it won't work from a file:// url)
106
108
- /java:
107
109
-`ant run`
108
110
- /js:
109
-
-`run-d8` (if you have V8's standalone shell, or open bench2d_run.html in your favorite browser)
111
+
-`run-d8` (if you have V8's standalone shell)
112
+
- Or open bench2d_run.html in your favorite browser
110
113
- /as3:
111
114
-`./build` (open Bench2d.html in your favorite browser, or Bench2d.swf in the standalone Flash Player)
112
115
- (There's also a version that uses the "Nape" physics library, but this is not relevent to VM benchmarking)
113
116
- /dart:
114
117
-`pub update; dart bench2d.dart`
115
118
- /dart (dart2js):
116
-
-`dart2js -o bench2d.dart.js; open dart/bench2d.html in Dartium or another browser`
119
+
-`pub serve; open http://localhost:8080/bench2d.html`
117
120
- /nodejs
118
-
-`npm install; node index.js`
121
+
-`npm install; node index.js` (NOTE: This isn't working at the moment, but isn't directly relevant to benchmarking)
119
122
120
123
121
124
## Future work
122
125
123
126
- Find or build a better Javascript port of Box2D.
0 commit comments