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: 10 | Comments: 37

filter by tags archive

Linq to Sql Profiler is now on public beta

time to read 1 min | 186 words

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

  1. Production postmortem: The case of the memory eater and high load - 17 hours from now
  2. Production postmortem: The case of the lying configuration file - about one day from now
  3. Production postmortem: The industry at large - 3 days from now
  4. The insidious cost of allocations - 4 days from now
  5. Find the bug: The concurrent memory buster - 5 days from now

And 4 more posts are pending...

There are posts all the way to Sep 10, 2015

RECENT SERIES

  1. Find the bug (5):
    20 Apr 2011 - Why do I get a Null Reference Exception?
  2. Production postmortem (10):
    14 Aug 2015 - The case of the man in the middle
  3. What is new in RavenDB 3.5 (7):
    12 Aug 2015 - Monitoring support
  4. Career planning (6):
    24 Jul 2015 - The immortal choices aren't
View all series

Syndication

Main feed Feed Stats
Comments feed   Comments Feed Stats