What’s new for Performance in Silverlight 4 GDR1
Hopefully folks saw the announcement about Silverlight 4 Service Release GDR1 availability. See Tim’s link here and KB2164913. The service release is being distributed by Microsoft Update as an Important update on Vista/Win7 and Critical update on Windows XP/ Windows 2003 Server. Mac and other Windows users who did opt-in for Microsoft Update will be prompted to install Silverlight 4 GDR1 soon after 9/1/2010.
In addition to other fixes (See above posts), this release fixes some key performance issues which I wanted to highlight:
- Fixed various memory leaks including:
- Leak when mouse capture is used (ScrollViewer, Button, Slider etc.)
e.g. when you use CaptureMouse() for drag and drop scenarios.
(See some discussions here) - Leak where UserControl cannot be garbage-collected when it contains inline data template.
(See some discussions here) - Other memory leaks in some other corner scenarios.
- Leak when mouse capture is used (ScrollViewer, Button, Slider etc.)
- Application cold startup improvement:
- Avoid loading of both IL and NGEN’d images.
- Allow the Silverlight pre-fetcher (agcp.exe) to run during the Silverlight detection script so that once an application redirects, the Silverlight pages are read from disk. (*The actual startup improvement depends on the application download size and network speed)
- Fixed animation jitter caused by the Silverlight pre-fetcher (agcp.exe) shutting down 10 seconds after a Silverlight application is launched. This was typically seen on a single core machine.
Enjoy. Jossef.