Ayende @ Rahien

Hi!
My name is Ayende Rahien
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,949 | Comments: 44,548

filter by tags archive

Linq to Sql Profiler is now on public beta


image

Well, after talking about it quite often recently, I think it is just about time to make this public.

The Linq to Sql Profiler is now on public beta, and it is even more awesome than you could imagine.

We are able to get a tremendous amount of information out of Linq to Sql, so from profiling behavior it is quite on par with NH Prof or Hibernate Profiler.

Here is a screen shot:

image

Please note that the UI color scheme is still under development, we would love to hear feedback about that as well.

Like NH Prof, L2S Prof is currently offered in a 30% discount for the duration of the beta period.

Looking forward for your feedback…


Comments

vansickle

Color scheme looks excellent on first view, how you choose colors?

Lars Wilhelmsen

Hi,

Any MVP license?

cheers,

--larsw

Ryan Riley

Fantastic! Just curious, but I noticed you added a comment in the how to about POCO with LINQ to SQL. Is that possible? To what are you referring?

Yuriy

Very solid scheme this time IMO - I even like it more than NHProf's one :)

Stephen

Personally I find the UI a little bizzare, not specifically the colour scheme, just.. why is the most dominant feature the name of the application? when I'm using the application thats completely unimportant to me..

Otherwise the UI seems clean.

Robert Cannon

As a owner of NHProf, do I get this version or is it another purchase?

Ayende Rahien

Lars,

yes :-)

Ryan,

Yes, you can do that, in a pretty nice manner.

Google search that term, you'll find a lot of info

Stephen,

What do you mean? The app name is just the title bar, and you usually don't even look at that when working with the application.

Robert,

Yes, this is another purchase.

I'll probably have a discount for people who already bought another profile, but it won't be larger than the beta discount one

Dmitry

I just downloaded the profiler. It works really well.

However I do have a minor problem. I have a MultiQuery object that combines multiple SqlCommand objects into one so you can call resolve multiple LINQ queries in a single db trip.

After all the commands are combined into a single SqlCommand object I need to set its connection to the data context connection. Unfortunately, L2SProf replaces SqlConnection with a ProfiledConnection which does not inherit from SqlConnection (because it is sealed).

I use multi-queries all over the place. In order to make it work I have to check for the connection type inside the custom data context and use the .Inner property if it is a profiled connection. I wonder if it would be possible to avoid this, maybe to implement implicit operator between ProfiledConnection and SqlConnection.

Ayende Rahien

Dmitry,

The problem is that you are tying yourself to SqlConnection.

Just use connection.CreateCommand(), and that will work just fine.

It will also be profiled by the profiler

Dmitry

Unfortunately I cannot do that. The command is created before the connection is available so the object does not require an active data context in cases string based queries are used.

The connection is assigned later through the .Connection property.

Ayende Rahien

Please contact me over email, comments on the blog are not conductive for doing this.

Dmitry

I came up with a solution.

Do beta testers who own an NHProf license get an additional discount? :)

Stephen

Ayende, thats the point... its just the app name, and I don't care to look there, but its just so damned big that instinctively I constantly feel myself focusing there..

Theres so many usability studies into hierarchy ayende, at some level the distractions will be lowering productivity, so technically an improvement you could make to the app (to make it more productive) would be to make the title far less dominating.

But hey whatever, you asked for feedback, UI/UX is half of my job, so thought id try help.

Ayende Rahien

Stephen,

I appreciate the feedback, I just don't think that I agree with you here.

The title is about twice as large as the standard ones, yes, but this is located in a position you generally never look at using normal operation.

smurf

i'd love to have this color schema for NHProf

MF
MF

I like this theme. I would suggest you keep the shades of grey in the middle the same for all the different XProf products, and just change the colour of the titlebar (i.e. the blue bits) for each different one

novah

Too expensive IMHO! You can attach some debugger writter that displays generated SQL (to Output window of VS for example) to DataContext.Log, and have similar thing for free.

Ayende Rahien

Novah,

You wouldn't get nearly the same amount of information, but that is the fun part, no one is forcing anyone to buy it

novah

True, i get the point. I Just don't like tools that costs half price of my whole IDE. Or I'm just spoiled with Apple Store (Iphone apps) business model and app prices?

Comment preview

Comments have been closed on this topic.

FUTURE POSTS

No future posts left, oh my!

RECENT SERIES

  1. The RavenDB Comic Strip (3):
    28 May 2015 - Part III – High availability & sleeping soundly
  2. Special Offer (2):
    27 May 2015 - 29% discount for all our products
  3. RavenDB Sharding (3):
    22 May 2015 - Adding a new shard to an existing cluster, splitting the shard
  4. Challenge (45):
    28 Apr 2015 - What is the meaning of this change?
  5. Interview question (2):
    30 Mar 2015 - fix the index
View all series

RECENT COMMENTS

Syndication

Main feed Feed Stats
Comments feed   Comments Feed Stats