diff --git a/NzbDrone.Core/NzbDrone.Core.csproj b/NzbDrone.Core/NzbDrone.Core.csproj index 508f85abe..ecf58e523 100644 --- a/NzbDrone.Core/NzbDrone.Core.csproj +++ b/NzbDrone.Core/NzbDrone.Core.csproj @@ -133,8 +133,9 @@ ..\Libraries\MigSharp.dll - - ..\packages\MiniProfiler.1.2\lib\MvcMiniProfiler.dll + + False + ..\packages\MiniProfiler.1.3\lib\MvcMiniProfiler.dll ..\packages\Ninject.2.2.1.4\lib\net40-Full\Ninject.dll diff --git a/NzbDrone.Core/packages.config b/NzbDrone.Core/packages.config index dc63f6ebd..249f147ba 100644 --- a/NzbDrone.Core/packages.config +++ b/NzbDrone.Core/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/NzbDrone.Web/NzbDrone.Web.csproj b/NzbDrone.Web/NzbDrone.Web.csproj index 6c6e0c9f8..963cea074 100644 --- a/NzbDrone.Web/NzbDrone.Web.csproj +++ b/NzbDrone.Web/NzbDrone.Web.csproj @@ -57,8 +57,9 @@ ..\Libraries\MVC3\Microsoft.Web.Infrastructure.dll True - - ..\packages\MiniProfiler.1.2\lib\MvcMiniProfiler.dll + + False + ..\packages\MiniProfiler.1.3\lib\MvcMiniProfiler.dll ..\packages\Ninject.2.2.1.4\lib\net40-Full\Ninject.dll diff --git a/NzbDrone.Web/packages.config b/NzbDrone.Web/packages.config index fdd72d2b3..0f9d9b4b9 100644 --- a/NzbDrone.Web/packages.config +++ b/NzbDrone.Web/packages.config @@ -9,5 +9,5 @@ - + \ No newline at end of file diff --git a/packages/MiniProfiler.1.2/MiniProfiler.1.2.nupkg b/packages/MiniProfiler.1.2/MiniProfiler.1.2.nupkg deleted file mode 100644 index 8b03a0034..000000000 Binary files a/packages/MiniProfiler.1.2/MiniProfiler.1.2.nupkg and /dev/null differ diff --git a/packages/MiniProfiler.1.2/lib/MvcMiniProfiler.dll b/packages/MiniProfiler.1.2/lib/MvcMiniProfiler.dll deleted file mode 100644 index bf7f0a3b1..000000000 Binary files a/packages/MiniProfiler.1.2/lib/MvcMiniProfiler.dll and /dev/null differ diff --git a/packages/MiniProfiler.1.2/lib/MvcMiniProfiler.pdb b/packages/MiniProfiler.1.2/lib/MvcMiniProfiler.pdb deleted file mode 100644 index d70f75438..000000000 Binary files a/packages/MiniProfiler.1.2/lib/MvcMiniProfiler.pdb and /dev/null differ diff --git a/packages/MiniProfiler.1.3/MiniProfiler.1.3.nupkg b/packages/MiniProfiler.1.3/MiniProfiler.1.3.nupkg new file mode 100644 index 000000000..3acc489ca Binary files /dev/null and b/packages/MiniProfiler.1.3/MiniProfiler.1.3.nupkg differ diff --git a/packages/MiniProfiler.1.3/lib/MvcMiniProfiler.dll b/packages/MiniProfiler.1.3/lib/MvcMiniProfiler.dll new file mode 100644 index 000000000..5e11c81d0 Binary files /dev/null and b/packages/MiniProfiler.1.3/lib/MvcMiniProfiler.dll differ diff --git a/packages/MiniProfiler.1.3/lib/MvcMiniProfiler.pdb b/packages/MiniProfiler.1.3/lib/MvcMiniProfiler.pdb new file mode 100644 index 000000000..46efddc14 Binary files /dev/null and b/packages/MiniProfiler.1.3/lib/MvcMiniProfiler.pdb differ diff --git a/packages/MiniProfiler.1.2/lib/MvcMiniProfiler.xml b/packages/MiniProfiler.1.3/lib/MvcMiniProfiler.xml similarity index 83% rename from packages/MiniProfiler.1.2/lib/MvcMiniProfiler.xml rename to packages/MiniProfiler.1.3/lib/MvcMiniProfiler.xml index ac83c177f..937e4d4cd 100644 --- a/packages/MiniProfiler.1.2/lib/MvcMiniProfiler.xml +++ b/packages/MiniProfiler.1.3/lib/MvcMiniProfiler.xml @@ -116,6 +116,11 @@ Gets the ellapsed milliseconds in this step without any children's durations. + + + Gets the aggregate ellapsed milliseconds of all SqlTimings executed in this Timing, excluding Children Timings. + + Returns true when this is less than the configured @@ -132,6 +137,11 @@ Returns true if this Timing step collected sql execution timings. + + + Returns true if any s executed in this step are detected as duplicate statements. + + Returns true when this Timing is the first one created in a MiniProfiler session. @@ -142,6 +152,21 @@ How far away this Timing is from the Profiler's Root. + + + How many sql data readers were executed in this Timing step. + + + + + How many sql scalar queries were executed in this Timing step. + + + + + How many sql non-query statements were executed in this Timing step. + + If the underlying command supports BindByName, this sets/clears the underlying @@ -201,6 +226,11 @@ Called when database reader is closed, ending profiling for SqlTimings. + + + To help with display, put some space around sammiched commas + + Category of sql statement executed. @@ -232,6 +262,11 @@ before all records are fetched and reader is closed. + + + True when other identical sql statements have been executed during this MiniProfiler session. + + Gets part of a stack trace containing only methods we care about. @@ -254,6 +289,11 @@ their starting time. + + + + + Creates and starts a new MiniProfiler for the root , filtering steps to . @@ -294,12 +334,38 @@ be prematurely stopped and discarded. Useful for when a specific route does not need to be profiled. - + + + Returns an that will time the code between its creation and disposal. Use this method when you + do not wish to include the MvcMiniProfiler namespace for the extension method. + + A descriptive name for the code that is encapsulated by the resulting IDisposable's lifetime. + This step's visibility level; allows filtering when is called. + + Returns the css and javascript includes needed to display the MiniProfiler results UI. + Which side of the page the profiler popup button should be displayed on (defaults to left) + Whether to show trivial timings by default (defaults to false) + Whether to show time the time with children column by default (defaults to false) Script and link elements normally; an empty string when there is no active profiling session. + + + Renders the current to json. + + + + + Renders the parameter to json. + + + + + Deserializes the json string parameter to a . + + Identifies this Profiler so it may be stored/cached. @@ -352,6 +418,26 @@ Returns true when we have profiled queries. + + + Returns true when any child Timings have duplicate queries. + + + + + Returns true when or any of its are . + + + + + Returns true when all child s are . + + + + + Any Timing step with a duration less than or equal to this will be hidden by default in the UI; defaults to 2.0 ms. + + Ticks since this MiniProfiler was started. @@ -461,7 +547,7 @@ Returns either includes' css/javascript or results' html. - + Handles rendering our .js and .less static content files. @@ -508,6 +594,21 @@ Useful when profiling many items in a loop, but you don't wish to always see this detail. + + + Dictates on which side of the page the profiler popup button is displayed; defaults to left. + + + + + Profiler popup button is displayed on the left. + + + + + Profiler popup button is displayed on the right. + + Contains helper methods that ease working with null s.