This project is a small benchmark testbed for the kodo-js lib
See benchmark results under the results/
folder.
The system needs the build libs to be placed under /libs/<your_build>
like:
libs/
|--59d0743_asm_o2/
|--info.json
|--kodo.js
|--kodo.wasm
Where the content if the info.json
should be lie this:
{
"name": "<your_build>",
"type": 2,
"flags":[
"-O2",
"--cxx_nodebug",
"-s ALLOW_MEMORY_GROWTH=1"
]
}
and the lib main should be called kodo.js
.
npm install
npm start
Open web browser at localhost:3000
- run
node src/data-parser/parser/index.js
with the correct*.jsonx
file - run
python src/data-parser/plotter/2d_plotter.py
- plots will be under
results/plots/
folder
The system has a node server and a browser based client part. The server collects the benchmark results, the client runs the benchmark.