IHateSpaghetti {code}

VSX, DSL and Beyond by Eyal Lantzman

Syndication

Coding / Architecture

Extensibility /DSL

Projects

Articles

Browse by Tags

All Tags » Performance (RSS)
Blog Carnival #11
This week in the blog carnival modeling, T4, C# 4.0, framework desing, SOA, performance and ASP.NET related links. Modeling and UML DSL Tools and Oslo by Stuart Kent UML Syntax and Semantics by Steve Cook T4 Using extension methods in T4 templates by Gareth Jones C# 4.0 C# 4.0 - Named and Optional Parameters - Behind the Scenes by Matthew Podwysocki Framework design PDC 2008 Talk: Framework Design Guidelines Framework Design Guidelines Videos ASP.NET/ASP.NET MVC /WPF /SIlverlight ScottGu has post...

Posted by Eyal | with no comments

Dispose and Finalize usage and snippet
When dealing with unmanaged resources (or in more general – when finalize is required) you need to use a certain pattern in order to get it right. According to MSDN (brought here for convinience): When to use finalize: · Implement Finalize only on objects that require finalization. There are performance costs associated with Finalize methods. · If you require a Finalize method, consider implementing IDisposable to allow users of your class to avoid the cost of invoking the Finalize method. · Do not...

Posted by Eyal | 3 comment(s)

InfoQ: A Formal Performance Tuning Methodology: Wait-Based Tuning
Although the author writes about java applications the concepts are the same for .NET and supported to some extent by Visual Studio Test Edition Here's the summery: "Performance tuning was once more “art” than “science”, but after a combination of abstract analysis and trial-and-error, wait-based tuning has proven to make the exercise far more scientific and far more effective. Wait-based tuning begins by performing a wait-point analysis of an application’s architecture in order to identify...

Posted by Eyal | 1 comment(s)

Blog Carnival #1
I've decided to collect interesting posts on various topics and when reach critical mass publish them in a single post. Visual Studio Extensibility and DSL Tools How do I know when a model element is being added by a user demand How do I know if the solution is still building How do I get the Visual Studio command line switches How do I obtain a project GUID How do I get a Project from a IVsHierarchy and viceversa How do I cancel a model element property value editing operation Refactoring Udi...

Posted by Eyal | with no comments

Tools day - come and get them
In the last weekend there were number of tools/frameworks that were published/upgraded/etc FxCop 1.36 - .NET Code Analysis Tool for Microsoft .NET Framework Design Guidelines - documentation and download 200+ bug fixes that reduce noise, missing analysis and rule crashes Support for analyzing anonymous methods and lambda expressions New option for skipping analysis over tool generated code Spell checker libraries now ship in the box Changes in the way references are resolved and located Better support...

Posted by Eyal | 1 comment(s)

Most Common Performance Issues in Parallel Programs
The Parallel Programming with .NET (pfxteam) has published a list of issues why a concurrent program may not achieve a parallel speedup that you would expect. * Amount of Parallelizable CPU-Bound Work * Task Granularity * Load Balancing * Memory Allocations and Garbage Collection * False Cache-Line Sharing * Locality Issues Read the full post here

Posted by Eyal | with no comments

תגים:,

Better thumbnail quality with less size – see how
I found very cool post that show how to obtain quality and better compression with a little tuning and less automation. here's the code: System.Drawing.Image myThumbnail = CreateThumbnail(myBitmap,Width,Height,false); //Configure JPEG Compression Engine System.Drawing.Imaging.EncoderParameters encoderParams = new System.Drawing.Imaging.EncoderParameters(); long[] quality = new long[1]; quality[0] = 75; System.Drawing.Imaging.EncoderParameter encoderParam = new System.Drawing.Imaging.EncoderParameter...

Posted by Eyal | with no comments