Multivariate polynomial arithmetic benchmark tests.
Project description
polybench
Multivariate polynomial arithmetic benchmark tests.
Many scientific and engineering applications utilise multivariate polynomial arithmetic in their algorithms and solutions. Here we provide a set of benchmark tests for often-used operations in multivariate polynomial arithmetic:
- Greatest common divisor
- Factorisation
Requirements
- Python >= 3.6.1
You also need at least one or more tools to be benchmarked. They are (in alphabetical order):
- Fermat
- FORM: if not available in the system, then a release binary will be automatically downloaded.
- Mathematica
- reFORM: automatically downloaded (requires Rust >= 1.36).
- Rings: automatically downloaded (requires JDK >= 8).
- Singular
Get started
Clone this repository and try to run the run.sh
script:
git clone https://github.com/tueda/polybench.git
cd polybench
./run.sh --all
When starting the script for the first time, it automatically sets up a virtual environment for required Python packages so that it will not dirty your environment. Some of the tools are provided as libraries registered in public package registries, so the first run takes some time to download, compile and link them with test binaries. After testing, a CSV file and comparison plots will be generated.
For practical benchmarking, configuration parameters should be set adequately. See the help message shown by
./run.sh --help
You can also use Poetry or Docker with this repository.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for polybench-0.1.0rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf299729b7d4c925574d00578e1e52a015c6eb4310df5d8dad9c68c0c5ae357b |
|
MD5 | a35025a346fa85ae53fc0923a27c06f2 |
|
BLAKE2b-256 | 55d7973d50257f78190c16dd438902263e1c630aefa9b3be2b9ed99a7abe6bdf |