|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Through some profiling, I discovered that a big bottleneck in my application was in these two places: apple.awt.CTextPipe.doDrawString(CTextPipe.java:Unknown line) apple.awt.OSXSurfaceData.drawString(OSXSurfaceData.java:1424) apple.awt.CTextPipe.drawString(CTextPipe.java:92) sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2955) and apple.awt.CRenderer.doRect(CRenderer.java:Unknown line) apple.awt.OSXSurfaceData.doRect(OSXSurfaceData.java:1212) apple.awt.CRenderer.fillRect(CRenderer.java:157) apple.awt.CRenderer.fillRect(CRenderer.java:145) sun.java2d.SunGraphics2D.fillRect(SunGraphics2D.java:2419) Looking at apple's site, I found this little gem:
So when I set this property to false, it makes an insanely great difference in performance. Stuff that took countable seconds of time, now happens instantly. My application is not using Swing, so does anybody here know if there is any reason NOT to set this property in my application (other than the unexplained warning, above)? -Joshua |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.