-
Notifications
You must be signed in to change notification settings - Fork 1
Run DLint on Benchmarks
Liang Gong edited this page Apr 23, 2015
·
1 revision
To make running experiments as simple as possible, DLint can be automatically applied to the SunSpider benchmarks, the Octane benchmarks, a set of locally installed web applications, and an arbitrary list of web sites. Each of these scenarios creates a directory, e.g., sunspider, with one subdirectory per benchmark/web app/web site, e.g., sunspider/3d-cube.js/. The subdirectory always has the same structure:
-
src
contains the uninstrumented JavaScript source code. -
analysisResults.json
contains the warnings found by DLint.
Run DLint for all SunSpider benchmarks:
./scripts/dlint_sunspider.sh
To run DLint for the Octane benchmarks, for web applications, and for external web sites, some setup is required:
- For Octane and the locally installed web applications, start a HTTP server:
python -m SimpleHTTPServer
Run DLint for all Octane benchmarks:
./scripts/dlint_octane.sh
Run DLint on all web sites listed in tests/dlint/urls.txt
:
./scripts/dlint_websites.sh