Skip to content

Releases: nohwnd/Profiler

4.3.0

14 Jun 19:53
Compare
Choose a tag to compare

What's Changed

  • Red message is shown at the end of the output when there was error executing the script, so it is easier to notice when the script block failed.

  • Add error detection into Tracer by @nohwnd in #68
    This will show when you turned the tracer during tracing session either on purpose or by accident and will throw an exception.

# file: break.ps1
Trace-Script { 
    Set-PSDebug -Off  
}
Run failed after 00:00:00.0168516 with the following error:
Exception calling "Unpatch" with "0" argument(s): 
"Trace was broken by: Set-PSDebug -Off from C:\t\break.ps1:3".
  • Memory is shown in megabytes, and rounded to 5 digits, this shows you tens of kilobytes, but that is okay, even the most basic PowerShell code allocates more.

Full Changelog: 4.2.0...4.3.0

4.2.0

03 Apr 21:11
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.1.0...4.2.0

4.1.0

16 Jun 12:29
e2c515f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.0.1...4.1.0

4.0.1

31 Mar 15:17
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.0.0...4.0.1

4.0.0

15 Jun 07:28
Compare
Choose a tag to compare

Add formats for data in the different Top* views

Format files were added for the Top* views and other views, so you don't have to use | Format-Table. Columns in views now change order based on what view you are looking at, so the relevant data are always first.

Top50SelfDuration, shows the exclusive percent and exclusive duration first:

image

Top50Duration, shows the inclusive percent and inclusive duration first:

image

Trace is nicely formatted:
image

Add aggregated views for Functions

There are 3 new views that show data aggregated to functions, to offer a better overview of where time is spent. Any code that is not in a function, is marked as <body> and split per file, or per scriptblock, when not in a file.

image

Speedscope export

Trace-Script -ExportPath exports profiler data into https://speedscope.app format, so you can easily visualize them as timeline or flame graph. The exporte data are summarized to functions.

image

image

4.0.0-beta2

16 May 09:21
Compare
Choose a tag to compare
4.0.0-beta2 Pre-release
Pre-release

Add formats for data in the different Top* views

  • You should not need to provide | Format-Table anymore.
  • Columns change order based on the view you use, so the relevant data are always first e.g.:

Top50Duration, shows the inclusive percent and duration first:
image

Top50SelfDuration, shows the exclusive percent and duration first:

image

Add aggregated views for Functions

There are 3 new views that show data aggregated to functions, to offer a better overview of where time is spent.

image

4.0.0-beta1

16 May 09:00
c2395c1
Compare
Choose a tag to compare
4.0.0-beta1 Pre-release
Pre-release
  • Adds speedscope export (see readme)
  • Adds selfPercent, module and function into the output (also readme)
  • Makes SelfDuration more prominent, because that is what most people probably want
  • Adds function summary, but it is published as global variable only (will change)
    image

3.1.1

20 May 23:04
bee2800
Compare
Choose a tag to compare

Some small fixes and improvements:

  • Fix issue with showing up different text than the actual line

https://github.com/nohwnd/profiler/compare/3.1.0..3.1.1

3.1.0

20 May 20:32
Compare
Choose a tag to compare

Some small fixes and improvements:

  • Add the ability to use arbitrary external tracer
  • Move processing code to C# to greatly improve performance
  • Collect only 100 hit objects per line (for perf reasons) but count all

https://github.com/nohwnd/profiler/compare/3.0.2..3.1.0

3.0.2

10 May 11:39
Compare
Choose a tag to compare

Some small fixes and improvements:

  • Fixing how we handle frequency on systems that have timestamp frequency lower than the amount of ticks per second.
  • Add artificial breakpoint to prevent tracing from disabling itself when users remove all their breakpoints programatically.
  • Fix paths in demos.
  • Internal renames and changes to how tracers are consumed to allow running tracing in tracing for Pester CC effort.

https://github.com/nohwnd/profiler/compare/3.0.1..3.0.2