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
`linux_perf_options` is now significantly simpler, serialization doesn't require LinuxPerf to have a JSON extension.
Removed experimental from parameter name so that it's not breaking when this feature becomes non experimental and also because it isn't experimental in my view.
Copy file name to clipboardExpand all lines: docs/src/manual.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,8 +85,8 @@ You can pass the following keyword arguments to `@benchmark`, `@benchmarkable`,
85
85
-`gcsample`: If `true`, run `gc()` before each sample. Defaults to `BenchmarkTools.DEFAULT_PARAMETERS.gcsample = false`.
86
86
-`time_tolerance`: The noise tolerance for the benchmark's time estimate, as a percentage. This is utilized after benchmark execution, when analyzing results. Defaults to `BenchmarkTools.DEFAULT_PARAMETERS.time_tolerance = 0.05`.
87
87
-`memory_tolerance`: The noise tolerance for the benchmark's memory estimate, as a percentage. This is utilized after benchmark execution, when analyzing results. Defaults to `BenchmarkTools.DEFAULT_PARAMETERS.memory_tolerance = 0.01`.
88
-
-`experimental_enable_linux_perf`: If `true`, profile using perf once per sample and return result from last sample. Defaults to `BenchmarkTools.DEFAULT_PARAMETERS.experimental_enable_linux_perf`, which is `true` if perf is available and `false` otherwise.
89
-
-`linux_perf_opts`: Options for perf profiling. Defaults to `BenchmarkTools.DEFAULT_PARAMETERS.linux_perf_opts = LinuxPerf.parse_pstats_options([])`.
88
+
-`enable_linux_perf`: If `true`, profile using perf once. Defaults to `BenchmarkTools.DEFAULT_PARAMETERS.enable_linux_perf`, which is `true` if perf is available and `false` otherwise.
89
+
-`linux_perf_opts`: Options for perf profiling. Defaults to `BenchmarkTools.DEFAULT_PARAMETERS.linux_perf_opts = String[]`. See LinuxPerf.jl for further details.
90
90
91
91
To change the default values of the above fields, one can mutate the fields of `BenchmarkTools.DEFAULT_PARAMETERS`, for example:
0 commit comments