Ayende @ Rahien

Oren Eini aka Ayende Rahien CEO of Hibernating Rhinos LTD, which develops RavenDB, a NoSQL Open Source Document Database.

Get in touch with me:

oren@ravendb.net

+972 52-548-6969

Posts: 7,184 | Comments: 50,205

Privacy Policy Terms
filter by tags archive
time to read 2 min | 301 words

For a long time, most of the work in the profiler (NH Prof, HProf, L2S Prof & EF Prof) could be done only with the use of the mouse. That annoyed a bunch of people, but it didn’t really bother me.  Rob fixed this recently, and I cannot believe what kind of a difference it makes.

Here are the shortcuts:

S Focus on Sessions tab header
T Focus on Statements tab header
D Focus on Details tab header
F Focus on Statistics tab header
Left / Right Move to the next / prev tab
Down / Up Move to next session / statement

Using those, you can use the common functionality of the profiler without touching the mouse.

time to read 2 min | 215 words

Well… I am still working done the list of stuff people request for the profiler (NH Prof, HProf, L2S Prof & EF Prof) , and one of the things that popped into the head of the list was wanting to have programmatic access to the profiler output. We aren’t talking about just the XML reports that are available, but to be able to get the data in a way that is easy to work with.

Well, here it is:

image

There is a new DLL in the profiler distribution, HibernatingRhinos.Profiler.Integration, where you can find the CaptureProfilerOutput class. That class will let you start the profiler, capture whatever happens in the middle, and finally stop and return you an instance of a report, containing all the data about what actually happened.

This is perfect if you want to use the profiler as part of your integration tests library. As an aside, you can also use the new DLL to programmatically parse (by using XML Serialization) the XML reports that you generate as part of your build, so you get very easy way to build rules around that report.

FUTURE POSTS

  1. RavenDB 5.2: Simplifying atomic cluster wide transactions - one day from now
  2. Architecture on the cloud: Avoid writing the code - 4 days from now

There are posts all the way to Aug 09, 2021

RECENT SERIES

  1. RavenDB 5.2 (2):
    12 Jul 2021 - Rolling index deployment
  2. Postmortem (2):
    23 Jul 2021 - Accidentally quadratic indexing output
  3. re (28):
    23 Jun 2021 - The performance regression odyssey
  4. Challenge (58):
    16 Jun 2021 - Detecting livelihood in a distributed cluster
  5. Webinar (4):
    11 Jun 2021 - Machine Learning and Time Series in RavenDB with Live Examples
View all series

Syndication

Main feed Feed Stats
Comments feed   Comments Feed Stats