Name: symengine-bench
Owner: symengine
Description: Benchmarking tools for SymEngine
Created: 2017-08-25 20:45:20.0
Updated: 2017-10-02 19:11:10.0
Pushed: 2017-10-02 19:12:22.0
Homepage: null
Size: 11
Language: Jupyter Notebook
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Here is how to build and run the benchmarks:
er build -t symengine/ubuntu_base ./ubuntu_base
er build -t symengine/conda_base ./conda_base
er build -t symengine/symengine --build-arg COMMIT=master ./symengine
er run -it -p 8888:8888 symengine/symengine jupyter notebook --ip='*' --no-browser
Then open the Plots.ipynb
notebook and execute it. It will produce graphs of
the benchmarks.
We can compare two commits as follows. The commit 398a3f39 should be faster than fdf132fc.
IT=398a3f39
er build -t symengine/symengine:$COMMIT --build-arg COMMIT=$COMMIT ./symengine
er run -t -v `pwd`:/opt/ symengine/symengine:$COMMIT bash run_copy.sh
ata.json data-$COMMIT.json
IT=fdf132fc
er build -t symengine/symengine:$COMMIT --build-arg COMMIT=$COMMIT ./symengine
er run -t -v `pwd`:/opt/ symengine/symengine:$COMMIT bash run_copy.sh
ata.json data-$COMMIT.json
And locally execute the Plot-two.ipynb
notebook:
ter notebook Plot-two.ipynb
Which will plot the two data-*.json
files.