Releases: nohwnd/Profiler
4.3.0
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
4.1.0
4.0.1
What's Changed
- Fix signature of external tracer adapter by @nohwnd in #60
- fix: Small grammar/format/typo improvements by @jhwohlgemuth in #61
New Contributors
- @jhwohlgemuth made their first contribution in #61
Full Changelog: 4.0.0...4.0.1
4.0.0
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:
Top50Duration
, shows the inclusive percent and inclusive duration first:
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.
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.
4.0.0-beta2
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:
Top50SelfDuration
, shows the exclusive percent and duration first:
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.
4.0.0-beta1
3.1.1
Some small fixes and improvements:
- Fix issue with showing up different text than the actual line
3.1.0
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
3.0.2
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.