Ayende @ Rahien

Hi!
My name is Oren Eini
Founder of Hibernating Rhinos LTD and RavenDB.
You can reach me by phone or email:

ayende@ayende.com

+972 52-548-6969

, @ Q c

Posts: 5,969 | Comments: 44,489

filter by tags archive

The Profiler New Features: Starring & Renaming


An interesting thing happened recently, when I started to build the profiler, a lot of the features were what I call Core Features. Those were the things that without which, we wouldn’t have a product. Things like detecting SQL, merging it into sessions, providing reports, etc. What I find myself doing recently with the profiler is not so much building Core Features, but building UX features. In other words, now that we have this in place, let us see how we can make better use of this.

Case in point, the new features that were just released in build 713. They aren’t big, but they are there to improve how people are commonly using the products.

Renaming a session:

image

This is primarily useful if you are in a long profiling session and you want to mark a specific session with some notation:

image

Small feature, and individually not very useful. But you might have noticed that the sessions are marked with stars around them. They weren’t there is previous builds, so what are they?

image

They are a way to tell the profiler that you really like those sessions :-)

More to the point, such sessions will not be removed when you clear the current state. That lets you keep around the previous state of the application as a base line while you work to improve it. Beside, it makes it much easier to locate them visually.

And finally, as a quicker way to do that, you can just ask the profiler to clear all but the selected features.

image

Not big features, but nice ones, I think.


Comments

Rob
Rob

How hard/easy was it for you to build those features on top of what was there? Did it make sense how to add them?

Christopher Bennage

Hmm, maybe we should have a Clear All Sessions (except Starred).

Ayende Rahien

Rob,

Look at the code :-)

It was pretty easy, all told.

The hardest part was actually the UI for the rename feature.

I do lousy UI, so I just brute forced it for now.

Ayende Rahien

Christopher,

Nope, that is what Clear means now

Christopher Bennage

Ooops. I see that I missed that in the post. I need to read more carefully. ;-)

Alex Vilela

Very useful.

It's been some time since I last used the Profiler and I'm not aware of the latest features. Anyway, well done.

Is it possible to compare two sessions? I actually mean something like SSMS where you can compare the execution plan of two queries?

I don't expect the same output, but maybe something like 'Session 1 run 30% less queries then session 2' or was quicker, or something like that?

Ayende Rahien

Alex,

Yes, we have the ability to diff sessions

Mike Scott

Nice feature, but there's conventional icon for this - a pin, not a star - to allow you to pin the sessions that you want to keep. Suggest you use that instead.

MIchael Chandler

What Mike Scott said. Nice feature, but a pin is more obvious than a star.

Jason

I'd also agree that the pin is more appropriate for the function (great feature btw).

Dan Plaskon

Would be nice if there was a way to clear ALL sessions (even the starred one)...or am I missing something obvious?

Comment preview

Comments have been closed on this topic.

FUTURE POSTS

  1. Production postmortem: The evil licensing code - 2 hours from now

There are posts all the way to Jul 29, 2015

RECENT SERIES

  1. Production postmortem (5):
    23 Jul 2015 - The case of the native memory leak
  2. Career planning (6):
    24 Jul 2015 - The immortal choices aren't
  3. API Design (7):
    20 Jul 2015 - We’ll let the users sort it out
  4. What is new in RavenDB 3.5 (3):
    15 Jul 2015 - Exploring data in the dark
  5. The RavenDB Comic Strip (3):
    28 May 2015 - Part III – High availability & sleeping soundly
View all series

RECENT COMMENTS

Syndication

Main feed Feed Stats
Comments feed   Comments Feed Stats