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: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,3 +78,20 @@ Use the `CODSPEED_LOG` environment variable to set the logging level:
78
78
```bash
79
79
CODSPEED_LOG=debug codspeed run ...
80
80
```
81
+
82
+
### Changing the mode of the runner
83
+
84
+
By default, the runner will run the benchmark in the `instrumentation` mode. You can specify the mode with the `--mode` flag of the `run` command:
85
+
86
+
```bash
87
+
# Run in the `instrumentation` mode
88
+
codspeed run --mode instrumentation <my-benchmark-command>
89
+
90
+
# Run in the `walltime` mode
91
+
codspeed run --mode walltime <my-benchmark-command>
92
+
```
93
+
94
+
> [!WARNING]
95
+
> We strongly recommend not changing this mode unless you know what you are doing.
96
+
> Using the `walltime` mode on machines not provided and managed by CodSpeed will lead to inconsistent results, as the machine will not have the necessary configurations and resources for accurate measurements.
97
+
> Check out the [Walltime Instrument Documentation](https://docs.codspeed.io/instruments/walltime/) for more details.
0 commit comments