ASP.NET News from Blogger: Rico Marianis Performance Tidbits   Get the feed of: Rico Marianis Performance Tidbits

Total News: 160

Example of a transform for unit testing something tricky

There were some requests for an example of my unit testing strategy so made up this fragment and included some things that would make your testing annoying. This is the initial fragment.&nbs...

How to make ANY code in ANY system unit-test-friendly

There are lots of pieces of code that are embedded in places that make it very hard to test.  Sometimes these bits are essential to the correct operation of your program and could have complex st...

A Personal History of Microcomputing (Part 2)

I could spend a long time writing about programming the PET and it’s various entry points, and I’m likely going to spend on the CBM family of computers because that’s what I know, bu...

A Personal History of Microcomputing (Part 1)

I started writing this several years ago, never finished it...  stumbled across it just now and I thought maybe if I post this I'd be motivated to write more. This is of course just my perspectiv...

My Universal Performance Problem Advice

I get asked for recommendations a lot.  Most of the time I have little to no data when asked to perform this sort of divination.  But as it turns out I have this ready-to-go universal advice...

Using telemetry to reveal, prevent, and act on real problems in the wild

I hesitate to bring this up but there’s no sense hiding it.  For the last year I’ve been the development lead for the Internet Explorer Performance Team.  We’ve done some r...

Career advice part 2

I wrote some career advice a few weeks ago now, those few points are largely distilled from talks I’ve given here at Microsoft over the years and those are in turn distilled from the various men...

Non-Properties of floating point numbers

I recently received a customer question that boiled down to the oft-encountered binary floating point inexact representation issue.  They were rather troubled that basic identities normal to numb...

Career advice for anyone who cares to listen :)

At the Grace Hopper Celebration of Women in Computing there are many attendees offering and looking for good advice.  Dear friends among them.  I read some, “inarticulate” respon...

Performance Quiz #14: Memory Locality etc. Bonus Round!

Thanks to some careful readers I discovered why the shuffling factors discussed in my previous blog entry were so strange.  The rand() method I was using only returns numbers between 0 and MAX_RA...

Performance Quiz #14: Memory Locality, x64 vs. x86, Alignment, and Density

   It's been a very long time since I did a performance quiz and so it's only right that this one covers a lot of ground.  Before I take even one step forward I want you to know that I ...

Wow I love git-tf!

I switched to git about 3 years ago because the portability was so great.  Moving work between computers couldn't be easier.  But when I did that I lost all my TFS history from TFS express I...

You don't have to write it (all) first...

It seems like I get pretty much the same questions all the time.  A common one is, "Rico can you tell me if it would be ok for me to use <technology> to solve this <problem>?  H...

To preload or not to preload...

Q: My application starts slowly, I want to preload it to avoid that problem.   Should I be worried? A: Well, in short, there are lots of concerns.  Preloading things you may or may not ...

Amazing Grace Hopper on Nanoseconds

Just found this: http://highscalability.com/blog/2012/3/1/grace-hopper-to-programmers-mind-your-nanoseconds.html Worth it just to hear Grace. I think I'll get some microseconds to hang around people's...

Software Performance for Metro Style Applications

With the Windows Consumer Preview out the door, I thought it would be interesting to write something about creating great performing Windows applications.  I hope to have a lot more to say about ...

Coding in Marble (Part 2)

I thought I'd follow up on my last technical post with a few extra details about the Marble pattern, despite the name of the article I mostly talked about the Wood pattern.  I guess perhaps this ...

Coding in Marble

I wish I could remember where I first read it because perhaps it deserves attribution.  But many years ago I read about the two world views of physicists and they resonated with me.  One wor...

Improving .NET Application Performance and Scalability

This series can still be found here: http://msdn.microsoft.com/en-us/library/ff649152.aspx While some of the content is stale since it refers specifically to .NET 2.0 I think all of the conceptual con...

Performance and Design Guidelines for Data Access Layers

Many problems you will face are actually the building data access layer, sometimes thinly disguised, sometimes in your face; it’s one of the broad patterns that you see in computer science &ndas...

Performance Guidelines for Properties

I can’t say I’ve asked the framework guidelines folks about this but I’m fairly sure there would be a lot of agreement from the guidelines gurus; so in the spirit of approximately co...

Less Loosely Coupled Than Meets The Eye

I don’t know that it is possible to write anything like a unitary software system in a way that is truly loosely coupled.   It’s not that you can’t make boxes and line...

Debugging Multi-threaded Applications: Some Tidbits

I was lamenting that we haven't really done terribly much to make multi-threaded debugging easier in say the last decade and I was fortunate enough to be able to have a conversation with Brain Crawfor...

A few words about Micro-Benchmarks

Its been a long time since I included my this discussion is only approximately correct disclaimer so Ill just preface it here.  In the interest of space and clarity, this discussion is only appro...

My History of Visual Studio (Epilog)

Visual Studio 2010 Launched on Monday.  Wow!  Its HUGE.  A major round of congratulations are in order for everyone involved, not just on the Visual Studio team but also on the Framewor...

VSX Keynote posted

Just a quick plug, if you missed the VSX conference you can see it all online on Channel 9.  Some great talks including my keynote speech on VS Futures.  ...

VS2010 Beta2 performance and other issues

Just a few words of encouragement today:  I can't emphasize enough how valueable your feedback is to us at this point, no matter how hard we try we simply cannot duplicate the diversity that is t...

Inside Visual Studio Beta 2 - Performance and Reliability

After my keynote speech yesterday at the Development Tools Ecosystem Summit Charles Torre caught up with me and we made this video.  Hot off the presses: Rico Mariani: Inside Visual Stu...

My History of Visual Studio (Part 10, final)

[All the other Parts: History of Visual Studio]  [Visit the Microsoft Visual Studio 2010 and .NET Framework 4 Beta web site for the latest info] Visual Studio 2008 Winds Down, Visual Studio 2010 ...

My History of Visual Studio (Part 9)

[All the other Parts: History of Visual Studio]  In the last posting I talked about the Whidbey release, VS2005, but I feel like I left out two really important aspects so Id like to start this ...

My History of Visual Studio (Part 8)

[All the other Parts: History of Visual Studio]  I cant really talk about what was going on in the IDE without covering what was happening in the runtime because their fates are so intertwined, s...

My History of Visual Studio (Part 7)

[All the other Parts: History of Visual Studio] [I know I promised to talk about Whidbey in this installment but I realized I needed a bridge to get there or else Id totally skip over Everett so thi...

My History of Visual Studio (Part 6)

[All the other Parts: History of Visual Studio] The years 1998 to 2002 were very busy ones in the Developer Division.  Ive previously written about Dolphin and I tried to give a sense of exactly ...

My History of Visual Studio (Part 5)

[All the other Parts: History of Visual Studio] Were still on the part of the story where I was off working in MSN which means all I can give you are the first- and second-hand stories that Ive heard ...

My History of Visual Studio (Part 4)

[also see Part 1][also see Part 2] [also see Part 3]   I didnt really intend to write one of these per day but here it is day 4 and were still going strong.  Id like to take a mome...

My History of Visual Studio (Part 3)

[also see Part 1][also see Part 2]  I was going to go forward again in this installment but I got some requests to talk about some older things again before I did that.  You might be getting...

My History of Visual Studio (Part 2)

[also see Part 1]  Visual C++ 2.0, Dolphin was a very ambitious release. We were really happy with VC1 but there were quite a few things that were entirely unsatisfactory.  One of them, mayb...

My History of Visual Studio (Part 1)

I wrote in the teaser that there is no one History of Visual Studio, there are as many histories as there were people involved.  If I may repurpose a famous quote, There are eight million stories...

The Visual Studio Documentary on Channel 9

This is just great fun! And, of course, The Documentary is all wrong because they left out many of my favorite parts *grin*. OK, seriously, there is no one history of Visual Studio because of course t...

Development Tools Ecosystem Summit

I'm happy to announce that I just agreed to give the keynote for the Development Tools Ecosystem Summit next month here in Redmond.  The Development Tools Ecosystem Summit, from October 19th...

Visual Studio 2010 Performance Part 3: A Technical Update

If I have any readers left out there, they might be interested to know what it is Im up to this month.  Its a very important something.  Its... my vacation!  Ok, seriously, I am in fact...

CLR Performance Questionnaire

Vance Morrison posted an interesting opportunity for you to give feedback directly to the CLR perf team on your managed code performance issues.  I encourage you to participate: If you...

Visual Studio: Why is there no 64 bit version? (yet)

Disclaimer: This is yet another of my trademarked "approximately correct" discussions  From time to time customers or partners ask me about our plans to create a 64 bit version of Visual Studio...

Visual Studio 2010 Performance Part 2: Text Editor

Part 1 of this series talked about the startup problems we face.  In Part 2, I want to talk about the editor. Many people have reported that editing with the new editor is slower. Ive experience...

Visual Studio 2010 Performance Part 1: Startup

I want to start by thanking everyone that has commented on the Beta (by posting their thoughts here or elsewhere) for doing so. Please keep those comments coming! They have a great impact on the senio...

Visual Studio 10 -- Your Performance Feedback plus Beta 1

At Microsoft you can't say you're excited about anything you have to say that you're "super excited".  I don't know why that's just the way it is.  So, I'm happy to say that I'm super exci...

Visual Studio -- working on performance

Jason has a new posting on the progress of Visual Studio and I wanted to chime in myself.  Some people have been wondering what Ive been up to I think youll be happy to hear that about 2 months a...

Visual Studio Today, Tomorrow and Beyond

Looks like it's interview season for me just now.  Here's another piece on Visual Studio directions, based on questions from Channel 9 readers. Visual Studio Today, Tomorrow, and Beyond Thanks ...

Performance Advice, Southern Style

While I was at PDC2008 I was introduced to Keith and Woody -- pretty soon there was a microphone in front of me and we were doing a podcast.  Now I already liked these guys but when they used a p...

Visual Studio Dialogue with WPF Performance Emphasis

Lots of great comments on my last posting, I wanted to address the performance concerns especially.  I'm always amazed by the wide variety of opinions :) First I'd just like to say that I didn't ...

View Other bloggers