benchmarks for blank canvas
$ make build
$ make test SYS=OSX-Chrome
To access blank-canvas, use the URL:
http://localhost:3000/?width=800&height=600
Other ways of running tests:
$ ./dist/build/blank-canvas-mark/blank-canvas-mark -o foo.html -u foo.csv
OR $ ./dist/build/blank-canvas-mark/blank-canvas-mark -o foo.html -u foo.csv Bezier
To use a weak remote monad
$ BLANK_WEAK=1 ./dist/build/blank-canvas-mark/blank-canvas-mark
To create a version of the benchmark that be be used across networks
$ BLANK_REMOTE=1 ./dist/build/blank-canvas-mark/blank-canvas-mark
JavaScript automatically defaults to a canvas of 800x600
$ cd js
$ open benchmark.html
To run a single test, use URL with dut
file:///.../benchmark.html?dut=Bezier
$ cd js
$ xdg-open benchmark.html
$ python -m SimpleHTTPServer
$ open http://localhost:8000/summary/results.html
We store our results internally as json records. For each point, we use the following format.
Field | Values | Notes |
---|---|---|
test | "blank-canvas-mark" | Name of test set; required. |
os | "OSX" or "Linux" | OS test run on |
browser | "Chrome" or "Firefox" | |
platform | "Blank Canvas" or "JavaScript" | |
options | "weak" and/or "web-sockets" | Optional |
name | "Bezier", ... | Name of specific benchmark |
time | (clock) runtime | The data point, a mean |
ub / lb | upper and lower bound on mean | |
confidence | 0.95 | confidence in the mean |
hash | "ABC123" | Hash of specific device under test |
raw | {...} | Raw results to reproduce quality of mean |
outliers | {...} | Quality of test data |
The hash it there so we can compare like with like.
_id
: optional unique id for each linereport
: (individual report from criterion)