polybench 0.3.1__tar.gz → 0.3.2__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.1 → polybench-0.3.2}/PKG-INFO +7 -6
- {polybench-0.3.1 → polybench-0.3.2}/README.md +4 -3
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/flint/vcpkg.json +1 -1
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/rings/build.gradle +3 -3
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/rings/src/main/java/com/github/tueda/polybench/rings/App.java +16 -23
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/symbolica/Cargo.lock +3 -24
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/symbolica/Cargo.toml +1 -1
- {polybench-0.3.1 → polybench-0.3.2}/pyproject.toml +3 -3
- {polybench-0.3.1 → polybench-0.3.2}/LICENSE +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/__init__.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/__main__.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/main.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/plot.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/poly.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/prob.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/py.typed +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solver.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/__init__.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/fer.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/flint/CMakeLists.txt +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/flint/cmake/init-vcpkg.cmake +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/flint/main.c +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/flint/version.h.in +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/flint.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/form.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/mma.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/reform/Cargo.lock +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/reform/Cargo.toml +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/reform/src/main.rs +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/reform.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/rings/config/greclipse.properties +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.jar +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.properties +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/rings/gradlew +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/rings/gradlew.bat +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/rings.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/singular.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/symbolica/src/main.rs +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/solvers/symbolica.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/util.py +0 -0
- {polybench-0.3.1 → polybench-0.3.2}/polybench/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: polybench
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Multivariate polynomial arithmetic benchmark tests.
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: benchmark,mathematics,multivariate-polynomials
|
|
@@ -22,7 +22,7 @@ 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)
|
|
25
|
-
Requires-Dist: colorlog (>=6.
|
|
25
|
+
Requires-Dist: colorlog (>=6.9.0,<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"
|
|
@@ -37,7 +37,7 @@ Requires-Dist: pandas (>=1.1.5,<1.2.0) ; python_full_version >= "3.6.1" and pyth
|
|
|
37
37
|
Requires-Dist: pandas (>=1.3.5,<1.4.0) ; python_full_version >= "3.7.1" and python_version < "3.11"
|
|
38
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
|
-
Requires-Dist: psutil (>=
|
|
40
|
+
Requires-Dist: psutil (>=7.0.0,<8.0.0)
|
|
41
41
|
Requires-Dist: py-cpuinfo (>=9.0.0,<10.0.0)
|
|
42
42
|
Requires-Dist: symengine (>=0.10.0,<0.11.0) ; python_version == "3.7"
|
|
43
43
|
Requires-Dist: symengine (>=0.13.0,<0.14.0) ; python_version >= "3.8" and python_version < "3.14"
|
|
@@ -50,7 +50,7 @@ Description-Content-Type: text/markdown
|
|
|
50
50
|
polybench
|
|
51
51
|
=========
|
|
52
52
|
|
|
53
|
-
[](https://github.com/tueda/polybench/actions?query=branch:main)
|
|
54
54
|
[](https://pypi.org/project/polybench/)
|
|
55
55
|
|
|
56
56
|
Multivariate polynomial arithmetic benchmark tests.
|
|
@@ -74,7 +74,8 @@ They are (in alphabetical order):
|
|
|
74
74
|
|
|
75
75
|
- [Fermat](https://home.bway.net/lewis/)
|
|
76
76
|
- [FLINT](https://flintlib.org/): automatically downloaded via [vcpkg](https://vcpkg.io/)
|
|
77
|
-
(requires [CMake](https://cmake.org/) >= 3.15, a C compiler and the Make utility
|
|
77
|
+
(requires [CMake](https://cmake.org/) >= 3.15, a C compiler and the Make utility;
|
|
78
|
+
see also [vcpkg dependencies](https://learn.microsoft.com/en-us/vcpkg/concepts/supported-hosts#dependencies)).
|
|
78
79
|
- [FORM](https://www.nikhef.nl/~form/):
|
|
79
80
|
if not available in the system, then
|
|
80
81
|
a [release binary](https://github.com/vermaseren/form/releases)
|
|
@@ -206,5 +207,5 @@ cd path/to/project
|
|
|
206
207
|
License
|
|
207
208
|
-------
|
|
208
209
|
|
|
209
|
-
[MIT](https://github.com/tueda/polybench/blob/
|
|
210
|
+
[MIT](https://github.com/tueda/polybench/blob/main/LICENSE)
|
|
210
211
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
polybench
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
-
[](https://github.com/tueda/polybench/actions?query=branch:main)
|
|
5
5
|
[](https://pypi.org/project/polybench/)
|
|
6
6
|
|
|
7
7
|
Multivariate polynomial arithmetic benchmark tests.
|
|
@@ -25,7 +25,8 @@ They are (in alphabetical order):
|
|
|
25
25
|
|
|
26
26
|
- [Fermat](https://home.bway.net/lewis/)
|
|
27
27
|
- [FLINT](https://flintlib.org/): automatically downloaded via [vcpkg](https://vcpkg.io/)
|
|
28
|
-
(requires [CMake](https://cmake.org/) >= 3.15, a C compiler and the Make utility
|
|
28
|
+
(requires [CMake](https://cmake.org/) >= 3.15, a C compiler and the Make utility;
|
|
29
|
+
see also [vcpkg dependencies](https://learn.microsoft.com/en-us/vcpkg/concepts/supported-hosts#dependencies)).
|
|
29
30
|
- [FORM](https://www.nikhef.nl/~form/):
|
|
30
31
|
if not available in the system, then
|
|
31
32
|
a [release binary](https://github.com/vermaseren/form/releases)
|
|
@@ -157,4 +158,4 @@ cd path/to/project
|
|
|
157
158
|
License
|
|
158
159
|
-------
|
|
159
160
|
|
|
160
|
-
[MIT](https://github.com/tueda/polybench/blob/
|
|
161
|
+
[MIT](https://github.com/tueda/polybench/blob/main/LICENSE)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
|
3
3
|
"name": "polybench-flint",
|
|
4
4
|
"version-string": "0.1.0",
|
|
5
|
-
"builtin-baseline": "
|
|
5
|
+
"builtin-baseline": "ce613c41372b23b1f51333815feb3edd87ef8a8b",
|
|
6
6
|
"dependencies": [
|
|
7
7
|
{
|
|
8
8
|
"name": "flint",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
plugins {
|
|
2
2
|
id 'application'
|
|
3
|
-
id 'com.diffplug.spotless' version '7.0.
|
|
3
|
+
id 'com.diffplug.spotless' version '7.0.4'
|
|
4
4
|
id 'com.github.ben-manes.versions' version '0.52.0'
|
|
5
|
-
id 'ru.vyarus.quality' version '
|
|
5
|
+
id 'ru.vyarus.quality' version '5.0.0'
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
def versions = [
|
|
9
|
-
checkstyle: '10.
|
|
9
|
+
checkstyle: '10.25.0',
|
|
10
10
|
rings: '2.5.8',
|
|
11
11
|
]
|
|
12
12
|
|
|
@@ -21,31 +21,24 @@ public class App {
|
|
|
21
21
|
final Path inputFile = Paths.get(args[1]);
|
|
22
22
|
final Path outputFile = Paths.get(args[2]);
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
if (line == null) {
|
|
31
|
-
break;
|
|
32
|
-
}
|
|
33
|
-
String answer;
|
|
34
|
-
if (line.startsWith("gcd")) {
|
|
35
|
-
answer = doGcd(line, variables);
|
|
36
|
-
} else if (line.startsWith("factor")) {
|
|
37
|
-
answer = doFactor(line, variables);
|
|
38
|
-
} else {
|
|
39
|
-
String problemType = line.length() > 8 ? line.substring(0, 8) + "..." : line;
|
|
40
|
-
throw new IllegalArgumentException("unknown problem type: " + problemType);
|
|
41
|
-
}
|
|
42
|
-
out.println(answer);
|
|
24
|
+
try (BufferedReader in = Files.newBufferedReader(inputFile);
|
|
25
|
+
PrintWriter out = new PrintWriter(Files.newBufferedWriter(outputFile))) {
|
|
26
|
+
while (true) {
|
|
27
|
+
final String line = in.readLine();
|
|
28
|
+
if (line == null) {
|
|
29
|
+
break;
|
|
43
30
|
}
|
|
44
|
-
|
|
45
|
-
|
|
31
|
+
String answer;
|
|
32
|
+
if (line.startsWith("gcd")) {
|
|
33
|
+
answer = doGcd(line, variables);
|
|
34
|
+
} else if (line.startsWith("factor")) {
|
|
35
|
+
answer = doFactor(line, variables);
|
|
36
|
+
} else {
|
|
37
|
+
String problemType = line.length() > 8 ? line.substring(0, 8) + "..." : line;
|
|
38
|
+
throw new IllegalArgumentException("unknown problem type: " + problemType);
|
|
39
|
+
}
|
|
40
|
+
out.println(answer);
|
|
46
41
|
}
|
|
47
|
-
} finally {
|
|
48
|
-
in.close();
|
|
49
42
|
}
|
|
50
43
|
}
|
|
51
44
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is automatically @generated by Cargo.
|
|
2
2
|
# It is not intended for manual editing.
|
|
3
|
-
version =
|
|
3
|
+
version = 4
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "ahash"
|
|
@@ -321,26 +321,6 @@ version = "1.0.4"
|
|
|
321
321
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
322
322
|
checksum = "d369a96f978623eb3dc28807c4852d6cc617fed53da5d3c400feff1ef34a714a"
|
|
323
323
|
|
|
324
|
-
[[package]]
|
|
325
|
-
name = "serde"
|
|
326
|
-
version = "1.0.208"
|
|
327
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
328
|
-
checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2"
|
|
329
|
-
dependencies = [
|
|
330
|
-
"serde_derive",
|
|
331
|
-
]
|
|
332
|
-
|
|
333
|
-
[[package]]
|
|
334
|
-
name = "serde_derive"
|
|
335
|
-
version = "1.0.208"
|
|
336
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
337
|
-
checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf"
|
|
338
|
-
dependencies = [
|
|
339
|
-
"proc-macro2",
|
|
340
|
-
"quote",
|
|
341
|
-
"syn",
|
|
342
|
-
]
|
|
343
|
-
|
|
344
324
|
[[package]]
|
|
345
325
|
name = "smallvec"
|
|
346
326
|
version = "1.13.2"
|
|
@@ -366,9 +346,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
|
366
346
|
|
|
367
347
|
[[package]]
|
|
368
348
|
name = "symbolica"
|
|
369
|
-
version = "0.
|
|
349
|
+
version = "0.16.0"
|
|
370
350
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
371
|
-
checksum = "
|
|
351
|
+
checksum = "cd604b65465f118ac20bc2edef1b45f15f28e978b72e89050101dc524432e501"
|
|
372
352
|
dependencies = [
|
|
373
353
|
"ahash",
|
|
374
354
|
"append-only-vec",
|
|
@@ -384,7 +364,6 @@ dependencies = [
|
|
|
384
364
|
"rayon",
|
|
385
365
|
"rug",
|
|
386
366
|
"self_cell",
|
|
387
|
-
"serde",
|
|
388
367
|
"smallvec",
|
|
389
368
|
"smartstring",
|
|
390
369
|
"tinyjson",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "polybench"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.2"
|
|
4
4
|
description = "Multivariate polynomial arithmetic benchmark tests."
|
|
5
5
|
license = "MIT"
|
|
6
6
|
authors = ["Takahiro Ueda <t.ueda.od@juntendo.ac.jp>"]
|
|
@@ -19,11 +19,11 @@ classifiers = [
|
|
|
19
19
|
python = "^3.6.1"
|
|
20
20
|
|
|
21
21
|
colorama = "^0.4.5" # 0.4.6 requires python >= 3.7
|
|
22
|
-
colorlog = "^6.
|
|
22
|
+
colorlog = "^6.9.0"
|
|
23
23
|
importlib-metadata = "^4.8.3" # 4.9.0 requires python >= 3.7
|
|
24
24
|
importlib-resources = "^5.4.0" # 5.6.0 requires python >= 3.7
|
|
25
25
|
pretty-errors = "^1.2.25"
|
|
26
|
-
psutil = "^
|
|
26
|
+
psutil = "^7.0.0"
|
|
27
27
|
py-cpuinfo = "^9.0.0"
|
|
28
28
|
toml = "^0.10.2"
|
|
29
29
|
typing-extensions = "^4.1.1" # 4.2.0 requires python >= 3.7
|
|
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.1 → polybench-0.3.2}/polybench/solvers/rings/gradle/wrapper/gradle-wrapper.jar
RENAMED
|
File without changes
|
{polybench-0.3.1 → polybench-0.3.2}/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
|
|
File without changes
|