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
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,29 @@ It provides the following information:
87
87
-`(20/s)` (attempted) rate,
88
88
-`avg: 72ns, min: 125ns, max: 27.590042ms` average, min and max iteration times.
89
89
90
+
### Chart Command
91
+
92
+
The `chart` command allows you to plot a chart of the test scenarios that would be triggered over time with the provided run function. It supports various subcommands corresponding to different trigger modes.
93
+
94
+
Usage:
95
+
```
96
+
f1 chart <subcommand>
97
+
```
98
+
99
+
Flags:
100
+
-`--chart-start`: Optional start time for the chart (default: current time in RFC3339 format)
101
+
-`--chart-duration`: Duration for the chart (default: 10 minutes)
102
+
-`--filename`: Filename for optional detailed chart, e.g. `<trigger_mode>.png`
103
+
104
+
The command generates an ASCII graph in the console and optionally creates a detailed PNG chart if a filename is provided.
105
+
106
+
Example:
107
+
```
108
+
f1 chart constant --chart-duration=5m --filename=constant_chart.png
109
+
```
110
+
111
+
This will generate an ASCII graph in the console and save a detailed PNG chart to `constant_chart.png`.
0 commit comments