Skip to content

Commit 07896ea

Browse files
committed
final
Signed-off-by: Yang Wang <[email protected]>
1 parent 3e8fa8f commit 07896ea

File tree

8 files changed

+435
-252
lines changed

8 files changed

+435
-252
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Benchmark tooling
2+
a lib providing tools for benchmarking
3+
# read_benchmark_data.py
4+
read benchmar data from HUD open api, the api returns grouped benchmark data based on execuTorch group values
5+
## How to use it
6+
install requirement packages
7+
```
8+
pip install benchamrk_tooling/requirements.txt
9+
```
10+
11+
### run script manually
12+
the script has fixed list of group settings.
13+
Notice startTime and endTime must be UTC datetime string: "yyyy-mm-ddThh:mm:ss"
14+
15+
To run and display json format
16+
```bash
17+
python3 read_benchamark_data.py --startTime "2025-06-11T00:00:00" --endTime "2025-06-17T18:00:00"
18+
```
19+
20+
To run and display df format
21+
```bash
22+
python3 read_benchamark_data.py --startTime "2025-06-11T00:00:00" --endTime "2025-06-17T18:00:00" --outputType 'df'
23+
```
24+
25+
To run and generate execel sheets (this generated two excel file, one for private devices, and one for pulic devices):
26+
```
27+
python3 read_benchamark_data.py --startTime "2025-06-11T00:00:00" --endTime "2025-06-17T18:00:00" --outputType 'excel' --excelDir "."
28+
29+
```
30+
31+
To use the class as part your script
32+
```
33+
fetcher = ExecutorchBenchmarkFetcher()
34+
# must call run first
35+
fetch.run()
36+
private,public = fetcher.toDataFrame()
37+
38+
```

.ci/scripts/benchmark_tooling/execu_torch_read_data.py

Lines changed: 0 additions & 75 deletions
This file was deleted.

.ci/scripts/benchmark_tooling/query_torch_analysis_data.py

Lines changed: 0 additions & 94 deletions
This file was deleted.

0 commit comments

Comments
 (0)