Skip to content
A simple but effective mini-profiler for ASP.NET (and Core) websites
C# TypeScript CSS Other
Branch: master
Clone or download

Latest commit

NickCraver More work on ASP.NET Core timings (#482)
* More work on ASP.NET Core timings

This is a stab, may change a lot...getting it up for tweaking. Trying to repro the negative timing issue we see in Stack Overflow.

* DEBUG MODE OF DOOM

Gotta figure out stack slicing off the top here yet...but some progress in an uber debug mode for things.

* More style and tooltip refinement

* Stack shaving and tooltip for trivials fixed

* The the problem!

This sets the parent profiler to where it should be when adding a new timing, even in the case of stack unwinds further up which hide our understanding of a previous head reset further down due to an AsyncLocal<Timing> mismatch on the head. Now as a safety we roll up to the parent and get the right tree even with MVCs frame-saving shenanigans. Woohoo!

Good god that was hard to figure out.

* Remove Debug overhead shenanigans.

* Fix debug off TypeScript

* Doc updates

* Undo some diff, add inlining hints

* Doc tidy

* Fix stack styling (undo removal here)

* Undo more diff

* More doc additions
Latest commit ff8b503 May 25, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
.vscode
benchmarks/MiniProfiler.Benchmarks
build
docs
samples
src
tests
.editorconfig
.filenesting.json
.gitattributes
.gitignore
Build.csproj
Directory.Build.props
LICENSE.txt
MiniProfiler.sln
PackageBuild.csproj
Readme.md
appveyor.yml
benchmarks.cmd
build.cmd
build.ps1
global.json
miniprofiler.snk
nuget.config
version.json

Readme.md

MiniProfiler for .NET (and .NET Core)

Welcome to MiniProfiler for .NET, ASP.NET, ASP.NET Core, ASP.NET MVC and generally all the combinations of those words. Documentation for MiniProfiler for .NET is in /docs, accessible via GitHub pages at: miniprofiler.com/dotnet. General information for MiniProfiler across platforms can be found at miniprofiler.com. It is part of the .NET Foundation, and operates under their code of conduct.

AppVeyor Build Status Actions Build

The current major version of MiniProfiler is v4.

Handy Links

Building

To build the MiniProfiler solution in Visual Studio, you'll need:

  • Visual Studio 2019 16.3+ (or the .NET Core 3.x SDK)
  • The Web Compiler extension
    • Note: no extension is needed if building via buid.cmd or build.ps1 in the repository root. They pull it in via a package.

After a clone, running build.cmd. To create packages, use build.cmd -CreatePackages $true and it'll output them in the .nukpgs\ folder.

Package Status

MyGet Pre-release feed: https://www.myget.org/gallery/miniprofiler

Package NuGet Stable NuGet Pre-release Downloads MyGet
MiniProfiler MiniProfiler MiniProfiler MiniProfiler MiniProfiler MyGet
MiniProfiler.AspNetCore MiniProfiler.AspNetCore MiniProfiler.AspNetCore MiniProfiler.AspNetCore MiniProfiler.AspNetCore MyGet
MiniProfiler.AspNetCore.Mvc MiniProfiler.AspNetCore.Mvc MiniProfiler.AspNetCore.Mvc MiniProfiler.AspNetCore.Mvc MiniProfiler.AspNetCore.Mvc MyGet
MiniProfiler.EF6 MiniProfiler.EF6 MiniProfiler.EF6 MiniProfiler.EF6 MiniProfiler.EF6 MyGet
MiniProfiler.EntityFrameworkCore MiniProfiler.EntityFrameworkCore MiniProfiler.EntityFrameworkCore MiniProfiler.EntityFrameworkCore MiniProfiler.EntityFrameworkCore MyGet
MiniProfiler.EFC7 MiniProfiler.EFC7 MiniProfiler.EFC7 MiniProfiler.EFC7 MiniProfiler.EFC7 MyGet
MiniProfiler.Mvc5 MiniProfiler.Mvc5 MiniProfiler.Mvc5 MiniProfiler.Mvc5 MiniProfiler.Mvc5 MyGet
MiniProfiler.Providers.MongoDB MiniProfiler.Providers.MongoDB MiniProfiler.Providers.MongoDB MiniProfiler.Providers.MongoDB MiniProfiler.Providers.MongoDB MyGet
MiniProfiler.Providers.MySql MiniProfiler.Providers.MySql MiniProfiler.Providers.MySql MiniProfiler.Providers.MySql MiniProfiler.Providers.MySql MyGet
MiniProfiler.Providers.PostgreSql MiniProfiler.Providers.PostgreSql MiniProfiler.Providers.PostgreSql MiniProfiler.Providers.PostgreSql MiniProfiler.Providers.PostgreSql MyGet
MiniProfiler.Providers.Redis MiniProfiler.Providers.Redis MiniProfiler.Providers.Redis MiniProfiler.Providers.Redis MiniProfiler.Providers.Redis MyGet
MiniProfiler.Providers.SqlServer MiniProfiler.Providers.SqlServer MiniProfiler.Providers.SqlServer MiniProfiler.Providers.SqlServer MiniProfiler.Providers.SqlServer MyGet
MiniProfiler.Providers.SqlServerCe MiniProfiler.Providers.SqlServerCe MiniProfiler.Providers.SqlServerCe MiniProfiler.Providers.SqlServerCe MiniProfiler.Providers.SqlServerCe MyGet
MiniProfiler.Shared MiniProfiler.Shared MiniProfiler.Shared MiniProfiler.Shared MiniProfiler.Shared MyGet

License

MiniProfiler is licensed under the MIT license.

You can’t perform that action at this time.