Ayende @ Rahien

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


+972 52-548-6969

, @ Q c

Posts: 6,128 | Comments: 45,548

filter by tags archive

The Profiler New Features: Starring & Renaming

time to read 2 min | 361 words

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:


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


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?


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.


Not big features, but nice ones, I think.



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


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


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


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.


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.


  1. The low level interview question - 7 hours from now
  2. The worker pattern - 3 days from now

There are posts all the way to May 30, 2016


  1. The design of RavenDB 4.0 (14):
    26 May 2016 - The client side
  2. RavenDB 3.5 whirl wind tour (14):
    25 May 2016 - Got anything to declare, ya smuggler?
  3. Tasks for the new comer (2):
    15 Apr 2016 - Quartz.NET with RavenDB
  4. Code through the looking glass (5):
    18 Mar 2016 - And a linear search to rule them
  5. Find the bug (8):
    29 Feb 2016 - When you can't rely on your own identity
View all series



Main feed Feed Stats
Comments feed   Comments Feed Stats