Skip to content

Commit

Permalink
release[1.8.0,master]: update benchmark stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
tcojean committed Jun 10, 2024
1 parent 45fd749 commit e7b0127
Show file tree
Hide file tree
Showing 32 changed files with 7 additions and 71 deletions.
2 changes: 0 additions & 2 deletions benchmark/test/reference/blas.profile.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 0 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/blas.simple.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/conversion.all.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/conversion.matrix.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/conversion.profile.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 0 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/conversion.simple.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/distributed_solver.matrix.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/distributed_solver.profile.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 0 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/distributed_solver.simple.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/matrix_statistics.matrix.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running test case <filename>
Matrix is of size (36, 36), 208
2 changes: 0 additions & 2 deletions benchmark/test/reference/matrix_statistics.simple.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running test case stencil(100, 7pt)
Matrix is of size (125, 125), 725
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 0 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/preconditioner.matrix.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/preconditioner.profile.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 0 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/preconditioner.reordered.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/preconditioner.simple.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/solver.matrix.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/solver.profile.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 0 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/solver.reordered.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/solver.simple.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/sparse_blas.matrix.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/sparse_blas.profile.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 0 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/sparse_blas.reordered.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/sparse_blas.simple.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/spmv.matrix.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/spmv.profile.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 0 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/spmv.reordered.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/spmv.simple.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/spmv_distributed.profile.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 0 warm iterations and 1 running iterations
The random seed for right hand sides is 42
Expand Down
2 changes: 0 additions & 2 deletions benchmark/test/reference/spmv_distributed.simple.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is Ginkgo 1.7.0 (master)
running with core module 1.7.0 (master)
Running on reference(0)
Running with 2 warm iterations and 10 running iterations
The random seed for right hand sides is 42
Expand Down
16 changes: 7 additions & 9 deletions benchmark/test/test_framework.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ denumberify_paths = [
"rhs_norm",
"max_relative_norm2",
]
detypenameify_key_starts = [
"generate(", "apply(", "advanced_apply(", "copy(", "check("]
detypenameify_key_starts = ["generate(", "apply(", "advanced_apply(", "copy(", "check("]
empty_string_paths = ["filename"]
empty_array_paths = [
"recurrent_residuals",
Expand Down Expand Up @@ -149,7 +148,9 @@ def compare_output_impl(
)
)
ignore_patterns = [
" the .* module is", # version numbers
"This is Ginkgo", # version numbers + tag
" the .* module is", # version numbers + tag
" running with core module", # version numbers + tag
"DEBUG: (begin|end ) (allocate|free)", # allocations
]
typename_patterns = [
Expand Down Expand Up @@ -178,8 +179,7 @@ def compare_output_impl(
ignore_patterns=ignore_patterns,
replace_patterns=typename_patterns,
)
expected_stdout_processed = sanitize_json_text(
open(expected_stdout).read())
expected_stdout_processed = sanitize_json_text(open(expected_stdout).read())
expected_stderr_processed = sanitize_text(
open(expected_stderr).read(),
ignore_patterns=ignore_patterns,
Expand All @@ -190,17 +190,15 @@ def compare_output_impl(
print("FAIL: stdout differs")
print(
"\n".join(
difflib.unified_diff(
expected_stdout_processed, result_stdout_processed)
difflib.unified_diff(expected_stdout_processed, result_stdout_processed)
)
)
failed = True
if result_stderr_processed != expected_stderr_processed:
print("FAIL: stderr differs")
print(
"\n".join(
difflib.unified_diff(
expected_stderr_processed, result_stderr_processed)
difflib.unified_diff(expected_stderr_processed, result_stderr_processed)
)
)
failed = True
Expand Down

0 comments on commit e7b0127

Please sign in to comment.