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
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,21 +9,29 @@ Currently supported sources:
9
9
## Fields
10
10
-`name` (required): name of the benchmark
11
11
-`tool` (required): tool used to get benchmark output. One of `["cargo"]`
12
-
-`platform` (required): a string describing the platform
12
+
-`os` (required): a string describing the os
13
13
-`output-file-path` (required): a path to a file containing the output of the benchmark tool
14
14
-`data-out-path` (required): the path where the output of the action should be written
15
15
16
+
## Metadata format
17
+
18
+
The benchmark name in the `cargo` benchmarks can be provided as a `/`-separated string with the format `category/key size/name/platform/api`. The key size should be an integer. Some fields in this string can be left blank. Any unspecified or invalid fields will be parsed to `undefined`.
19
+
16
20
## Output data format
17
21
18
22
The output will be written to `data-out-path` in a standardized JSON format:
19
23
```json
20
24
[
21
-
{
22
-
"name": "My Custom Smaller Is Better Benchmark - Memory Used",
0 commit comments