Skip to content

Commit

Permalink
update benchmark doc
Browse files Browse the repository at this point in the history
  • Loading branch information
TingquanGao committed Nov 15, 2024
1 parent 990eb14 commit 6cd20cc
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions docs/module_usage/instructions/benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,21 @@ python main.py \

```csv
Component,Total Time (ms),Number of Calls,Avg Time Per Call (ms)
ReadCmp,0.10199093818664551,10,0.01019909381866455
Resize,0.011309385299682617,20,0.0005654692649841309
Normalize,0.035140275955200195,20,0.0017570137977600097
ToCHWImage,4.744529724121094e-05,20,2.3722648620605467e-06
Copy2GPU,0.00861215591430664,10,0.000861215591430664
Infer,0.820899248123169,10,0.08208992481231689
Copy2CPU,0.006002187728881836,10,0.0006002187728881836
DetPostProcess,0.0004436969757080078,20,2.218484878540039e-05
ReadCmp,100.20136833190918,10,10.020136833190918
Resize,17.059803009033203,20,0.8529901504516602
Normalize,45.44949531555176,20,2.272474765777588
ToCHWImage,0.036716461181640625,20,0.0018358230590820312
Copy2GPU,12.28785514831543,10,1.228785514831543
Infer,76.59482955932617,10,7.659482955932617
Copy2CPU,0.3986358642578125,10,0.03986358642578125
DetPostProcess,0.4391670227050781,20,0.021958351135253906
```

```csv
Stage,Total Time (ms),Number of Instance,Avg Time Per Instance (ms)
PreProcess,0.14848804473876953,20,0.007424402236938477
Inference,0.8355135917663574,20,0.04177567958831787
PostProcess,0.0004436969757080078,20,2.218484878540039e-05
End2End,1.0054960250854492,20,0.05027480125427246
WarmUp,8.869974851608276,5,1.7739949703216553
Stage,Total Time (ms),Number of Instances,Avg Time Per Instance (ms)
PreProcess,162.74738311767578,20,8.137369155883789
Inference,89.28132057189941,20,4.464066028594971
PostProcess,0.4391670227050781,20,0.021958351135253906
End2End,0.279926061630249,20,0.013996303081512451
WarmUp,5.375627279281616,5,1.0751254558563232
```

0 comments on commit 6cd20cc

Please sign in to comment.