polybench 0.3.0__tar.gz → 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {polybench-0.3.0 → polybench-0.3.1}/LICENSE +1 -1
- {polybench-0.3.0 → polybench-0.3.1}/PKG-INFO +14 -14
- {polybench-0.3.0 → polybench-0.3.1}/README.md +5 -5
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/rings/build.gradle +3 -3
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/symbolica/Cargo.lock +2 -2
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/symbolica/Cargo.toml +1 -1
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/symbolica/src/main.rs +5 -10
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/symbolica.py +1 -5
- {polybench-0.3.0 → polybench-0.3.1}/pyproject.toml +6 -6
- {polybench-0.3.0 → polybench-0.3.1}/polybench/__init__.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/__main__.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/main.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/plot.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/poly.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/prob.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/py.typed +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solver.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/__init__.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/fer.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/flint/CMakeLists.txt +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/flint/cmake/init-vcpkg.cmake +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/flint/main.c +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/flint/vcpkg.json +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/flint/version.h.in +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/flint.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/form.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/mma.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/reform/Cargo.lock +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/reform/Cargo.toml +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/reform/src/main.rs +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/reform.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/rings/config/greclipse.properties +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.jar +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.properties +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/rings/gradlew +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/rings/gradlew.bat +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/rings/src/main/java/com/github/tueda/polybench/rings/App.java +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/rings.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/singular.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/util.py +0 -0
- {polybench-0.3.0 → polybench-0.3.1}/polybench/version.py +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: polybench
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Multivariate polynomial arithmetic benchmark tests.
|
|
5
|
-
Home-page: https://github.com/tueda/polybench
|
|
6
5
|
License: MIT
|
|
7
6
|
Keywords: benchmark,mathematics,multivariate-polynomials
|
|
8
7
|
Author: Takahiro Ueda
|
|
@@ -19,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
22
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
23
23
|
Classifier: Topic :: System :: Benchmark
|
|
24
24
|
Requires-Dist: colorama (>=0.4.5,<0.5.0)
|
|
@@ -26,21 +26,21 @@ Requires-Dist: colorlog (>=6.8.2,<7.0.0)
|
|
|
26
26
|
Requires-Dist: importlib-metadata (>=4.8.3,<5.0.0)
|
|
27
27
|
Requires-Dist: importlib-resources (>=5.4.0,<6.0.0)
|
|
28
28
|
Requires-Dist: kiwisolver (>=1.3.1,<1.4.0) ; python_full_version >= "3.6.1" and python_full_version < "3.7.0"
|
|
29
|
-
Requires-Dist: kiwisolver (>=1.4.5,<2.0.0) ; python_version >= "3.7" and python_version < "3.
|
|
29
|
+
Requires-Dist: kiwisolver (>=1.4.5,<2.0.0) ; python_version >= "3.7" and python_version < "3.14"
|
|
30
30
|
Requires-Dist: matplotlib (>=3.3.4,<3.4.0) ; python_full_version >= "3.6.1" and python_full_version < "3.7.0"
|
|
31
31
|
Requires-Dist: matplotlib (>=3.5.3,<3.6.0) ; python_version >= "3.7" and python_version < "3.11"
|
|
32
|
-
Requires-Dist: matplotlib (>=3.9.0,<4.0.0) ; python_version >= "3.11" and python_version < "3.
|
|
32
|
+
Requires-Dist: matplotlib (>=3.9.0,<4.0.0) ; python_version >= "3.11" and python_version < "3.14"
|
|
33
33
|
Requires-Dist: numpy (>=1.19.5,<1.20.0) ; python_full_version >= "3.6.1" and python_full_version < "3.7.0"
|
|
34
34
|
Requires-Dist: numpy (>=1.21.6,<1.22.0) ; python_version >= "3.7" and python_version < "3.11"
|
|
35
|
-
Requires-Dist: numpy (>=2.0.0,<3.0.0) ; python_version >= "3.11" and python_version < "3.
|
|
35
|
+
Requires-Dist: numpy (>=2.0.0,<3.0.0) ; python_version >= "3.11" and python_version < "3.14"
|
|
36
36
|
Requires-Dist: pandas (>=1.1.5,<1.2.0) ; python_full_version >= "3.6.1" and python_full_version < "3.7.1"
|
|
37
37
|
Requires-Dist: pandas (>=1.3.5,<1.4.0) ; python_full_version >= "3.7.1" and python_version < "3.11"
|
|
38
|
-
Requires-Dist: pandas (>=2.2.2,<3.0.0) ; python_version >= "3.11" and python_version < "3.
|
|
38
|
+
Requires-Dist: pandas (>=2.2.2,<3.0.0) ; python_version >= "3.11" and python_version < "3.14"
|
|
39
39
|
Requires-Dist: pretty-errors (>=1.2.25,<2.0.0)
|
|
40
40
|
Requires-Dist: psutil (>=6.0.0,<7.0.0)
|
|
41
41
|
Requires-Dist: py-cpuinfo (>=9.0.0,<10.0.0)
|
|
42
|
-
Requires-Dist: symengine (>=0.10.0,<0.11.0) ; python_version
|
|
43
|
-
Requires-Dist: symengine (>=0.
|
|
42
|
+
Requires-Dist: symengine (>=0.10.0,<0.11.0) ; python_version == "3.7"
|
|
43
|
+
Requires-Dist: symengine (>=0.13.0,<0.14.0) ; python_version >= "3.8" and python_version < "3.14"
|
|
44
44
|
Requires-Dist: symengine (>=0.8.1,<0.9.0) ; python_full_version >= "3.6.1" and python_full_version < "3.7.0"
|
|
45
45
|
Requires-Dist: toml (>=0.10.2,<0.11.0)
|
|
46
46
|
Requires-Dist: typing-extensions (>=4.1.1,<5.0.0)
|
|
@@ -160,14 +160,14 @@ Example
|
|
|
160
160
|
| FLINT | flint 2.9.0, cc (GNU) 10.5.0 |
|
|
161
161
|
| FORM | FORM 4.3.1 (Apr 11 2023, v4.3.1) 64-bits |
|
|
162
162
|
| Mathematica | 14.1.0 for Linux x86 (64-bit) (July 22, 2024) |
|
|
163
|
-
| reFORM | 0.1.0-fix-serialize, rustc 1.
|
|
163
|
+
| reFORM | 0.1.0-fix-serialize, rustc 1.84.1 (e71f9a9a9 2025-01-27) |
|
|
164
164
|
| Rings | 2.5.8, JVM: 11.0.20.1 (Ubuntu 11.0.20.1+1-post-Ubuntu-0ubuntu120.04) |
|
|
165
|
-
| Singular | Singular for x86_64-Linux version 4.4.
|
|
166
|
-
| Symbolica | 0.
|
|
165
|
+
| Singular | Singular for x86_64-Linux version 4.4.1 (44100, 64 bit) Jan 2025 |
|
|
166
|
+
| Symbolica | 0.15.0, rustc 1.84.1 (e71f9a9a9 2025-01-27) |
|
|
167
167
|
|
|
168
|
-

|
|
169
169
|
|
|
170
|
-

|
|
171
171
|
|
|
172
172
|
Additional benchmark results are available [here](https://github.com/tueda/polybench-result/tree/main).
|
|
173
173
|
|
|
@@ -111,14 +111,14 @@ Example
|
|
|
111
111
|
| FLINT | flint 2.9.0, cc (GNU) 10.5.0 |
|
|
112
112
|
| FORM | FORM 4.3.1 (Apr 11 2023, v4.3.1) 64-bits |
|
|
113
113
|
| Mathematica | 14.1.0 for Linux x86 (64-bit) (July 22, 2024) |
|
|
114
|
-
| reFORM | 0.1.0-fix-serialize, rustc 1.
|
|
114
|
+
| reFORM | 0.1.0-fix-serialize, rustc 1.84.1 (e71f9a9a9 2025-01-27) |
|
|
115
115
|
| Rings | 2.5.8, JVM: 11.0.20.1 (Ubuntu 11.0.20.1+1-post-Ubuntu-0ubuntu120.04) |
|
|
116
|
-
| Singular | Singular for x86_64-Linux version 4.4.
|
|
117
|
-
| Symbolica | 0.
|
|
116
|
+
| Singular | Singular for x86_64-Linux version 4.4.1 (44100, 64 bit) Jan 2025 |
|
|
117
|
+
| Symbolica | 0.15.0, rustc 1.84.1 (e71f9a9a9 2025-01-27) |
|
|
118
118
|
|
|
119
|
-

|
|
120
120
|
|
|
121
|
-

|
|
122
122
|
|
|
123
123
|
Additional benchmark results are available [here](https://github.com/tueda/polybench-result/tree/main).
|
|
124
124
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
plugins {
|
|
2
2
|
id 'application'
|
|
3
|
-
id 'com.diffplug.spotless' version '
|
|
4
|
-
id 'com.github.ben-manes.versions' version '0.
|
|
3
|
+
id 'com.diffplug.spotless' version '7.0.2'
|
|
4
|
+
id 'com.github.ben-manes.versions' version '0.52.0'
|
|
5
5
|
id 'ru.vyarus.quality' version '4.4.0'
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
def versions = [
|
|
9
|
-
checkstyle: '
|
|
9
|
+
checkstyle: '10.21.2',
|
|
10
10
|
rings: '2.5.8',
|
|
11
11
|
]
|
|
12
12
|
|
|
@@ -366,9 +366,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
|
366
366
|
|
|
367
367
|
[[package]]
|
|
368
368
|
name = "symbolica"
|
|
369
|
-
version = "0.
|
|
369
|
+
version = "0.15.1"
|
|
370
370
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
371
|
-
checksum = "
|
|
371
|
+
checksum = "ef24412afb257fe810c4084213deba06349d8c581aec63c876c84c3b2b3c4497"
|
|
372
372
|
dependencies = [
|
|
373
373
|
"ahash",
|
|
374
374
|
"append-only-vec",
|
|
@@ -3,12 +3,11 @@ use std::fs::File;
|
|
|
3
3
|
use std::io::{BufRead, BufReader, LineWriter, Write};
|
|
4
4
|
use std::sync::Arc;
|
|
5
5
|
use std::time::Instant;
|
|
6
|
-
use symbolica::atom::Atom;
|
|
7
6
|
use symbolica::domains::integer::Z;
|
|
8
7
|
use symbolica::poly::factor::Factorize;
|
|
9
8
|
use symbolica::poly::polynomial::MultivariatePolynomial;
|
|
10
9
|
use symbolica::poly::Variable;
|
|
11
|
-
use symbolica::
|
|
10
|
+
use symbolica::{atom::AtomCore, parse, symbol};
|
|
12
11
|
|
|
13
12
|
fn main() {
|
|
14
13
|
let args: Vec<_> = env::args().collect();
|
|
@@ -22,12 +21,8 @@ fn main() {
|
|
|
22
21
|
|
|
23
22
|
let mut output = LineWriter::new(output_file);
|
|
24
23
|
|
|
25
|
-
let var_map: Arc<Vec<Variable>> =
|
|
26
|
-
variables
|
|
27
|
-
.iter()
|
|
28
|
-
.map(|x| State::get_symbol(x).into())
|
|
29
|
-
.collect(),
|
|
30
|
-
);
|
|
24
|
+
let var_map: Arc<Vec<Variable>> =
|
|
25
|
+
Arc::new(variables.iter().map(|x| symbol!(x).into()).collect());
|
|
31
26
|
|
|
32
27
|
for line in BufReader::new(input_file).lines() {
|
|
33
28
|
let line = line.unwrap();
|
|
@@ -97,8 +92,8 @@ fn main() {
|
|
|
97
92
|
}
|
|
98
93
|
}
|
|
99
94
|
|
|
100
|
-
fn get_poly(expr: &str, var_map: &Arc<Vec<Variable>>) -> MultivariatePolynomial<Z> {
|
|
101
|
-
|
|
95
|
+
fn get_poly(expr: &str, var_map: &Arc<Vec<Variable>>) -> MultivariatePolynomial<Z, u8> {
|
|
96
|
+
parse!(expr)
|
|
102
97
|
.unwrap()
|
|
103
98
|
.to_polynomial(&Z, Some(var_map.clone()))
|
|
104
99
|
}
|
|
@@ -38,11 +38,7 @@ class SymbolicaSolver(Solver):
|
|
|
38
38
|
args = [variables, str(self.problem_file), str(log_file)]
|
|
39
39
|
if not self.run(
|
|
40
40
|
[
|
|
41
|
-
|
|
42
|
-
"run",
|
|
43
|
-
f"--manifest-path={self._build_dir}/Cargo.toml",
|
|
44
|
-
"--release",
|
|
45
|
-
"--",
|
|
41
|
+
f"{self._build_dir}/target/release/polybench-symbolica",
|
|
46
42
|
*args,
|
|
47
43
|
]
|
|
48
44
|
):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "polybench"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.1"
|
|
4
4
|
description = "Multivariate polynomial arithmetic benchmark tests."
|
|
5
5
|
license = "MIT"
|
|
6
6
|
authors = ["Takahiro Ueda <t.ueda.od@juntendo.ac.jp>"]
|
|
@@ -30,27 +30,27 @@ typing-extensions = "^4.1.1" # 4.2.0 requires python >= 3.7
|
|
|
30
30
|
|
|
31
31
|
kiwisolver = [
|
|
32
32
|
{ version = "~1.3.1", python = "~3.6.1" },
|
|
33
|
-
{ version = "^1.4.5", python = ">=3.7,<3.
|
|
33
|
+
{ version = "^1.4.5", python = ">=3.7,<3.14" },
|
|
34
34
|
]
|
|
35
35
|
symengine = [
|
|
36
36
|
{ version = "~0.8.1", python = "~3.6.1" },
|
|
37
37
|
{ version = "~0.10.0", python = ">=3.7,<3.8" },
|
|
38
|
-
{ version = "^0.
|
|
38
|
+
{ version = "^0.13.0", python = ">=3.8,<3.14" },
|
|
39
39
|
]
|
|
40
40
|
matplotlib = [
|
|
41
41
|
{ version = "~3.3.4", python = "~3.6.1" },
|
|
42
42
|
{ version = "~3.5.3", python = ">=3.7,<3.11" },
|
|
43
|
-
{ version = "^3.9.0", python = ">=3.11,<3.
|
|
43
|
+
{ version = "^3.9.0", python = ">=3.11,<3.14" },
|
|
44
44
|
]
|
|
45
45
|
numpy = [
|
|
46
46
|
{ version = "~1.19.5", python = "~3.6.1" },
|
|
47
47
|
{ version = "~1.21.6", python = ">=3.7,<3.11" },
|
|
48
|
-
{ version = "^2.0.0", python = ">=3.11,<3.
|
|
48
|
+
{ version = "^2.0.0", python = ">=3.11,<3.14" },
|
|
49
49
|
]
|
|
50
50
|
pandas = [
|
|
51
51
|
{ version = "~1.1.5", python = ">=3.6.1,<3.7.1" },
|
|
52
52
|
{ version = "~1.3.5", python = ">=3.7.1,<3.11" },
|
|
53
|
-
{ version = "^2.2.2", python = ">=3.11,<3.
|
|
53
|
+
{ version = "^2.2.2", python = ">=3.11,<3.14" },
|
|
54
54
|
]
|
|
55
55
|
|
|
56
56
|
[tool.poetry.dev-dependencies]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.jar
RENAMED
|
File without changes
|
{polybench-0.3.0 → polybench-0.3.1}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.properties
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|