# Poor Performance on Apple Silicon

**URL:** <https://forum.opencv.org/t/poor-performance-on-apple-silicon/8074>\
**Category:** C++\
**Tags:** build, apple\
**Created:** [March 24, 2022, 12:08am UTC](https://forum.opencv.org/t/poor-performance-on-apple-silicon/8074 "2022-03-24T00:08:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![justinwebster](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@justinwebster](https://forum.opencv.org/u/justinwebster)\
**Post date:** [March 24, 2022, 12:08am UTC](https://forum.opencv.org/t/poor-performance-on-apple-silicon/8074/1 "2022-03-24T00:08:32Z")

</div>

I’m seeing poor performance from some openCV functions when compiled for Apple Silicon.  
The same version of openCV compiled on x86\_64 will run faster, regardless on whether the host is intel or Rosetta on Apple Silicon.

Specifically, the cv::resize is slow, but especially when using certain interpolation modes. INTER\_AREA is slow and INTER\_LINEAR is really slow ( about 3.5x expected processing time ).

cvtColor() seems significantly slower as well, though I haven’t dug too deep on this one yet.

So is there any known issue or cause that might explain this?

OpenCV 4.5.5 compiled from scratch, separately on x86 and arm64 machines (no fat-binaries)  
Testing on last gen Intel MBP as well as M1 Max MBP.
