# Benchmark results for DNN CPU and Vulkan

**URL:** <https://forum.opencv.org/t/benchmark-results-for-dnn-cpu-and-vulkan/8884>\
**Category:** Uncategorized\
**Tags:** dnn, vulkan\
**Created:** [May 23, 2022, 3:28pm UTC](https://forum.opencv.org/t/benchmark-results-for-dnn-cpu-and-vulkan/8884 "2022-05-23T15:28:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottj](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@scottj](https://forum.opencv.org/u/scottj)\
**Post date:** [May 23, 2022, 3:28pm UTC](https://forum.opencv.org/t/benchmark-results-for-dnn-cpu-and-vulkan/8884/1 "2022-05-23T15:28:08Z")

</div>

I ran the perf tests for DNN on my laptop and the results show not to use Vulkan.

My plan was to use Vulkan but this data reveals that plan is not viable. I’ve seen similar discouraging results on another platform. I wanted to share this before someone else makes the same plan that I did.  
The results are from the DNN Perf module out of the box after I compiled OpenCV 4.5.5 from source.

 ![YoloFrameProcessingTimesRazer](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/d/d24c959048c17c83c44fb02b982c844d0462502a.png)

---

<div class="post-metadata">

**Author:** ![Zihao\_Mu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/zihao_mu/32/5755_2.png) [@Zihao\_Mu](https://forum.opencv.org/u/Zihao_Mu)\
**Post date:** [February 3, 2023, 6:21am UTC](https://forum.opencv.org/t/benchmark-results-for-dnn-cpu-and-vulkan/8884/2 "2023-02-03T06:21:40Z")

</div>

The existing Vulkan backend has only completed preliminary functions and lacks a lot of speed optimization. I am trying to further improve the Vulkan backend and will be able to submit code in the near future.
