Sign in
scarroll's Blog
A blog about Visual Studio Profiling, Code Coverage and CS Research!
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Code Coverage
Profiling
Research
teched
Archive
Archives
June 2007
(1)
November 2005
(1)
October 2005
(1)
July 2005
(3)
June 2005
(4)
May 2005
(6)
April 2005
(12)
February 2005
(2)
January 2005
(1)
July 2004
(2)
May 2004
(1)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
scarroll's Blog
Doing My Part to Destroy MSFT Productivity
Posted
over 8 years ago
by
scarroll
17
Comments
I had to help a high school kid solve this problem yesterday. It’s pretty interesting I think. I sent it around the team and people seemed to enjoy it so here you go. (In the old days, I would have saved this puzzle for an interview question, but pure...
scarroll's Blog
CLR Symbols for Beta 2 release imminent
Posted
over 8 years ago
by
scarroll
11
Comments
There was a problem with the original publication of the CLR Symbols for some binaries (mscoree, mscorwks, maybe others). This was causing the profiler to be unable to load symbols for these binaries. The end result was a lot of [mscoree.dll] function...
scarroll's Blog
New Category: Research
Posted
over 8 years ago
by
scarroll
7
Comments
So I'm going to try to add a new category of posts to this blog for interesting papers in Computer Science related conferences and journals. One thing that kind of blows my mind about CS lately is that even though we are more "connected" than we have...
scarroll's Blog
Profiling Tip: Amdahl's Law and Long Sampling Runs
Posted
over 8 years ago
by
scarroll
6
Comments
A lot of my graduate work was in the area of parallel computing so we spent a lot of time with Amdahl's law. Amdahl's law states that if you can speed up some fraction F of the program by some speedup S, the overall speedup of the program is: 1 / ...
scarroll's Blog
Lesson on Intern Mentoring from the Gilmore Girls
Posted
over 8 years ago
by
scarroll
5
Comments
I took the MSFT "Intern Mentoring" training last week in preparation for the impending arrival of my very first intern. It was about 2 hours of concentrated goodness. An Intern Mentor here at MSFT is the person who "manages" an intern. We're in charge...
scarroll's Blog
Profiling FAQ #5: Why are there two copies of my function in Instrumentation mode function report?
Posted
over 8 years ago
by
scarroll
3
Comments
The most common reason for this to occur in Instrumentation mode is that the dll you instrumented is appearing in two different processes. We don't aggregate data from multiple processes. You can see this easily by using vsperfreport.exe -summary:function...
scarroll's Blog
Offtopic: Memorial Day BBQ Grill Suggestion
Posted
over 8 years ago
by
scarroll
3
Comments
Total tangent here, but I just made a really great meal and I must blog about it. Side Dish: Roasted Grape Tomatoes Directions: 1) Grab a pint or so of grape tomatoes. They have them at Costco out here, but I've seen them in supermarkets. In a pinch...
scarroll's Blog
Paper Summary #1: Efficient and Precise Dynamic Impact Analysis Using Execute-After Sequences
Posted
over 8 years ago
by
scarroll
3
Comments
What's the name of the paper? Efficient and Precise Dynamic Impact Analysis Using Execute-After Sequences [PDF] Who wrote it? Taweesup Apiwattanapong, Alessandro Orso, and Mary Jean Harrold at Geogia Tech. Background: Impact Analysis is...
scarroll's Blog
Profiling FAQ #1: Why doesn't my Sampling Call Tree look like my Instrumentation Call Tree
Posted
over 8 years ago
by
scarroll
3
Comments
This post is adapted from an internal mail. The customers were somewhat confused about the reason their callstacks looked so different in Sampling mode and Instrumentation mode. Let's say your program consists of only 2 DLLs, foo.dll and bar.dll. Foo...
scarroll's Blog
Profiling FAQ #2: Why am I seeing functions from DLLs I didn't instrument in my Function view?
Posted
over 8 years ago
by
scarroll
3
Comments
This is actually just a corollary of the "Why don't instrumentation and sampling calltrees look the same" FAQ. In instrumentation, you will see all of the functions inside of the instrumented DLL as you would expect. However you will also see every...
scarroll's Blog
Profiling Tip #1: release vs. debug
Posted
over 8 years ago
by
scarroll
3
Comments
Don't laugh! I've seen this happen a few times now. In the UI , if you are debugging your debug build and then switch to performance tools and push launch, you will be profiling your Debug bits! Don't do this. Make sure you have set your configuration...
scarroll's Blog
Profiling Tip #2: Managed Code profiling and the command line
Posted
over 8 years ago
by
scarroll
3
Comments
The most common question that comes in to the internal profiler by far is "Why am I not seeing any managed code in my profiles?" Most of the internals who use our profiler like to do profile collection using the command line tools. The reason why this...
scarroll's Blog
Must watch Managed Perf Primer on Channel 9
Posted
over 8 years ago
by
scarroll
2
Comments
I watched all 50 minutes of Rico Mariani's new Channel9 video which can be found at http://channel9.msdn.com/ShowPost.aspx?PostID=54964 . It's a really excellent summary of the points that Rico has been driving home about getting better perf out of your...
scarroll's Blog
An Introduction
Posted
over 9 years ago
by
scarroll
2
Comments
Hello World. My name is Steve Carroll, and I'm a developer on the Visual Studio Team System team. Specifically, I work on the profiler and code coverage tools. Even MORE specifically, I work on the analysis phase of the profiler (with Simon Meachem...
scarroll's Blog
Requesting recommendations
Posted
over 9 years ago
by
scarroll
2
Comments
I'm looking for a good book on performance analysis for database-centric applications and/or web applications. Anybody out there in msdn land have a favorite they'd like to recommend?
scarroll's Blog
Block Statistics in Code Coverage
Posted
over 8 years ago
by
scarroll
2
Comments
In the code coverage analysis in VSTS, we provide two types of stats: block coverage and line coverage. I just wanted to clarify a few points. First, when we say block coverage, we are referring to basic blocks in the binary being tested, *not* in...
scarroll's Blog
What I've been up to... dogfood deployment
Posted
over 8 years ago
by
scarroll
2
Comments
So over the past two months, I've been busy with the rolling out of the VS profiler to as many internal teams as we can. We've gotten a lot of good feedback from this which I will start to share with all of you over the next few posts.
scarroll's Blog
Vacation Time
Posted
over 8 years ago
by
scarroll
2
Comments
I'll be on vacation for the next two weeks. I promise to be a good little blogger and write more posts about the profiler when I return. If you happen to be in Italy and see a hopeless looking Yank muttering in pidgin Italian trying to order gelato, that...
scarroll's Blog
Profiling FAQ #6: Why does the profiler say Foo calls Bar, when I know it doesn't!
Posted
over 8 years ago
by
scarroll
2
Comments
Here's another fun one from the internal support alias. When you profile with the VS Profiler, you are profiling the Release version of your code (I hope!). As you know from having debugged Release code in the past, sometimes things get a little funky...
scarroll's Blog
Beta2 CLR Symbols Live!
Posted
over 8 years ago
by
scarroll
2
Comments
The symbols for several key CLR Beta2 Symbols are finally on the symbol server. Go forth and profile! If you had previously sampled some managed apps and were disappointed with the stacks, please give it another try. Unfortunately, the DLLs that had...
scarroll's Blog
Public Chat: This Wednesday
Posted
over 8 years ago
by
scarroll
1
Comments
Hey folks. We have a public chat scheduled for tomorrow. I just checked the schedule and we have a bunch of the devs, testers, PMs, who are responsible for the dev and test skus of Team System signed up to be on for tomorrow's chat. If you've never tried...
scarroll's Blog
Speaking at MS Meltdown about the VS Profiler
Posted
over 8 years ago
by
scarroll
1
Comments
I'm speaking at the Microsoft Meltdown 2005 conference at the end of the month. The topic is tips and tricks for using the Visual Studio Profiler. Since this is a game developer audience, I'm going to try to tailor this talk to your needs and go in to...
scarroll's Blog
Profiling FAQ #7: What does the column name X mean?
Posted
over 8 years ago
by
scarroll
1
Comments
UPDATE: msdn2 seems to be flaking on this... I stuck a msn cached version below. I just noticed that the Visual Studio Profiler docs are up on msdn2. Here's a good list of what each column means in English. http://msdn2.microsoft.com/en-us...
scarroll's Blog
Visual Studio Launch: Bangkok (pre-game edition)
Posted
over 8 years ago
by
scarroll
1
Comments
Sawatdee Khrup! So I arrived in Thailand for Visual Studio Launch which will be in BecTero Hall here in Bangkok on Tuesday morning (tomorrow as I write this). I hope to see all of our Thai developers there. I spent the morning getting ready for a presentation...
scarroll's Blog
Profiling FAQ #3: How do -exclude and -include on vsinstr differ from -start / -suspend / -resume, etc.
Posted
over 8 years ago
by
scarroll
1
Comments
VSinstr has two different categories of switches. The first category of switches control which methods get instrumented. The second category of switches control whether or not profiling collection is enabled or not. They are completely orthogonal. ...
Page 1 of 2 (34 items)
1
2