Sable / Ostrich

Benchmark suite for studying the performance of JavaScript and WebCL for numerical computation
Other
24 stars 12 forks source link

Refactor dwarf_runner. #2

Closed isbadawi closed 10 years ago

isbadawi commented 10 years ago

Summary of changes:

n.b. I use dicts for specifying benchmarks and environments where previously lists were used, so order is not necessarily preserved. If this matters to you, you should use collections.OrderedDicts instead.

n.b. I only did cursory testing of this, since e.g. I don't have emscripten installed, and I am on OS X.

gnuvince commented 10 years ago

n.b. I only did cursory testing of this, since e.g. I don't have emscripten installed, and I am on OS X.

Use a lab machine to make sure it works on Linux (you can just test with JavaScript).

gnuvince commented 10 years ago

Besides the small bug and some stylistic mishaps, this looks good.

isbadawi commented 10 years ago

Ah yes, sorry! I think I ended up not testing this since it failed before that because of emscripten. I tested the C path. I've updated the commit.

I tried testing just JavaScript but it looks like I can't; running make fails because of the missing emcc before generating the plain JS html files.