You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: frameworks.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,8 @@ The base `Framework` class (found in [`npbench/infrastructure/framework.py`](npb
21
21
- impl_files: Returns a list of the framework's implementation files for the input benchmark. Each element in the list is a tuple of the implementation filename and a description (e.g. `default` or `nopython-parallel`).
22
22
- implementations: Returns a list of the framework's implementations for the input benchmark. Each element in the list is a tuple of the implementation method and a description (as above).
23
23
- args: Returns a list with the names of the input arguments for running the input implementation of the input benchmark.
24
-
- out_args: Returns a list with the input arguments for running the input implementation of the input benchmark **and** have to be copied(for example, because they may be modified during benchmark execution).
24
+
- mutable_args: Returns a list with the input arguments for running the input implementation of the input benchmark **and** have to be copied(for example, because they may be modified during benchmark execution).
25
+
- inout_args: Returns a list with the input arguments that are also output, i.e., they must be validated.
25
26
- arg_str: Returns the argument-string needed to call the input implementation of the input benchmark.
26
27
- out_arg_str: Returns the argument-string with the input arguments that must be copied.
27
28
- setup_str: Returns the setup-string of the code that should be executed for, e.g., copying data, before executing the benchmark implementation.
0 commit comments