Questions tagged [miniprofiler]

MiniProfiler is a simple and lightweight mini-profiler for .NET, Ruby, Go and Node.js.

MiniProfiler is a simple and lightweight mini-profiler for , , and .

It has minimal impact on performance as it does not attach itself to each and every method call. Instead, it provides an ADO.NET profiler, capable of profiling calls on raw ADO.NET (SQL Server, etc), LINQ-to-SQL, EF (including Code First), Lightspeed and a range of other data access scenarios and a pragmatic Step instrumentation that can be added to the particular piece of code which is explicitly required to be profiled.

The profiler also includes powerful and comprehensive database profiling capabilities. The built in database profiler supports any kind of DbConnection. It also supports Entity Framework and Linq-2-SQL.

MiniProfiler was designed by the team at Stack Overflow. It is in production use there and on the Stack Exchange family of sites.

76 questions
0
votes
1 answer

Using Miniprofiler with Neo4j Graph DB

I'm playing around with Neo4j community edition, with Neo4jClient for .net, and looking for a way to use the great Miniprofiler for the calls to the Neo4j DB. I'm using the miniprofiler on some other projects with SQL Server and Entity Framework…
Issac
  • 943
  • 1
  • 6
  • 13
0
votes
1 answer

LightInject - Interception not intercepting dependencies

I'm using LightInject with the ServiceProvider adapter on an MVC website. I'm trying to wire it into MiniProfiler, but I'm not having much luck. MiniProfiler seems to be capturing the MVC Controller Lifecycle, but not any of the dependencies: Mini…
0
votes
1 answer

How can I have Miniprofiler just call may log method for the profile messages

I am building a windows service. I am trying to have miniprofiler, intercept ado.net calls and hand the messages to my application's logging system. All miniprofiler needs to do is to call a static method Log(string text). I went through the…
Allan Xu
  • 7,998
  • 11
  • 51
  • 122
0
votes
0 answers

How do I prevent posts to mini-profiler-resources/results in production?

I am trying to setup MiniProfiler to run in all of our environments instead of just on our local machines. It is my understanding that StackOverflow runs MiniProfiler in production without any issues. When I open my developer tools in Chrome and go…
Christopher Haws
  • 1,715
  • 21
  • 21
0
votes
1 answer

How to retrieve OracleCommand parameters from ProfiledDbCommand

I started using the StackExchange mini profiler and wanted to use it with oracle database. But the exception is thrown when I run the query- Unable to cast object of type 'StackExchange.Profiling.Data.ProfiledDbCommand' to type…
Mr. Blond
  • 1,113
  • 2
  • 18
  • 41
0
votes
2 answers

Profiling DB2 connection with MiniProfier

I'm trying to add MiniProfiler to my DB2 connections. Below is my simplified code. public void InitializeConnection() { DB2Connection cnn = new DB2Connection("connection String"); var profiler = new…
photo_tom
  • 7,292
  • 14
  • 68
  • 116
0
votes
1 answer

MiniProfiler for ignoring page request

I am trying to ignore same request multiple times in miniprofiler and added this line of code inside Application_BeginRequest but seems this line of code not working. MiniProfiler.Settings.IgnoredPaths = new[] {…
Sneha Rani
  • 11
  • 1
  • 3
0
votes
1 answer

Steps for profiling SQL related operations in ASP.Net Web application using Mini profiler

I have seen very good documentation for MVC Mini profiler. But I need similar good documentation for Mini profiler for ASP.Net Web application. Please help me in setting up.
0
votes
1 answer

Servicestack enable MiniProfiler on own DB Connection

In Mini Profiler documentation you can do the following : public static DbConnection GetOpenConnection() { var cnn = CreateRealConnection(); // A SqlConnection, SqliteConnection ... or whatever // wrap the connection with a profiling…
Andy
  • 351
  • 1
  • 2
  • 12
0
votes
0 answers

Optimize Rails page loading time with Mini-profiler (or other gem etc.)?

I have a typical rails app with partials to load nav bars etc. My mini-profiler shows one of the partials taking way more time to render vs the rest. Can I use mini-profiler to dig into the rendering of these to see where the time being taken…
Dan Tappin
  • 2,692
  • 3
  • 37
  • 77
0
votes
0 answers

Why doesn't miniprofiler work as described?

MiniProfiler is not working too well for me. Even installation was broken, and had to be fixed with the aid of an answer to another question here. I have two problems below. I followed all the installation steps on the website.. as follows copying…
0
votes
1 answer

How to show MiniProfiler results in ServiceStack when using SqlServerStorage

In ServiceStack I am using the MiniProfiler configured to store profiles using SqlServerStorage. The profiles are being recorded to the database into the 'MiniProfilers' table without issue. Is there a viewer that would render the data (especially…
jacksonakj
  • 882
  • 1
  • 11
  • 21
0
votes
0 answers

Creating ObjectContext using miniprofiler using StackExchange.Profiling.Data.ObjectContextUtils.CreateObjectContext

Recently upgraded my project to EF6 from EF4. We are using Miniprofiler for database profiling and we have a function to create profiled context and are using StackExchange.Profiling.Data.ObjectContextUtils.CreateObjectContext function to create…
iaq
  • 173
  • 1
  • 2
  • 10
0
votes
1 answer

How to extend ServiceStack IDbConnectionFactory and MiniProfiler

Given the following code for my connection factory: public interface IDbFrontEndConnectionFactory : IDbConnectionFactory { } public class FrontEndDbFactory : IDbFrontEndConnectionFactory { private readonly IAppSettings _settings; private…
Stephen Patten
  • 6,333
  • 10
  • 50
  • 84
-1
votes
1 answer

MiniProfiler ASP.NET MVC5 not able to get results

I am trying to use MiniProfiler for the ASP.NET MVC application. I installed the following NuGet packages. I configured the MiniProfiler in both Global.ascx and Also the script in my _Layout. But I am getting post script error for getting results.…