The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Better UI Performance on Mac

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Better UI Performance on Mac Posted: Sep 26, 2009 10:07 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Better UI Performance on Mac
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

This afternoon, I was trying to figure out why the UI for BottomFeeder was crawling on the Mac. Actions that were nearly instantaneous on Windows took a noticeable amount of time on the Mac. I was thinking it must be some horrid VM issue, but then I got a simple suggestion from Alan Knight, our engineering manager: stop using the DoubleBufferingWindowDisplayPolicy.

As it happens, the Cocoa libraries on the Mac solve that problem for you - so doing it yourself just adds overhead. When I removed that policy from the UI opening, suddenly the entire problem went away.

So - if you're testing your VisualWorks application on Mac, and you notice that things are really, really slow - check to see whether you set the window to use the double buffering policy. If you did, pull that and the problem will likely go away.

Technorati Tags: , ,

Read: Better UI Performance on Mac

Topic: First Real Snow Leopard Glitch Previous Topic   Next Topic Topic: It all Comes Down to this Weekend

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use