symengine/symengine-bench

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

SymEngine Benchmarks

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.

Compare two commits

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.