Bad raphics performance on retina display (early 2015 13inch Macbook Pro)
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello everybody,
I realized some strange graphics performance issues on my work computer, which is a early 2015 Macbook Pro. I use a Thunderbolt display as an external screen.
Animated graphics seem to draw much slower on the native retina display than on the external screen, when plugged in. After some tests with bench() (mean value of 10 runs), I can tell how much worse it is on the retina.
Time in seconds for graphics tests with Thunderbolt display:
2D: 0.7363 3D: 0.7025
Time in seconds for graphics tests with Retina alone:
2D: 1.6315 3D: 1.6474
This behaviour is present on all the 5 Macbooks I tested. All of them have MATLAB 2015b installed. One of my colleagues still has 2015a on his computer, which has exactly the same hardware like mine and there the performance on the retina display is much better. What happened? Is this a known issue?
Best regards
댓글 수: 0
답변 (1개)
Mike Garrity
2016년 4월 15일
I haven't benchmarked that particular machine, but whenever I do benchmark a graphics system, I start with the diagram I discussed in this post on the MATLAB Graphics blog .
As you can see, once the system is in the region I labeled the "pixel limit", the performance is pretty much linearly proportional to the number of pixels per primitive. On a Retina display, there are more pixels per primitive. So it's not surprising that you might see a slowdown on the order of what you're seeing.
댓글 수: 2
Mike Garrity
2016년 4월 20일
What changed in 2015b is that MATLAB Graphics actually started supporting Retina displays. Before that, it was generating the image at low resolution, and then MacOS was scaling that low-res image up to the resolution of the monitor.
That means that the R2015b version is actually rendering 4 times as many pixels as the R2015a version.
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!