trperf 0.20.21

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global trperf --version 0.20.21
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local trperf --version 0.20.21
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=trperf&version=0.20.21
                    
nuke :add-package trperf --version 0.20.21
                    

Parses a file, arg, or stdin using a built-in or generated parser
with performance analysis.
This program is part of the Trash toolkit.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.23.17 2,810 3/7/2025
0.23.16 501 3/4/2025
0.23.15 130 2/25/2025
0.23.14 644 2/9/2025
0.23.13 391 1/19/2025
0.23.12 409 1/16/2025
0.23.11 2,606 12/18/2024
0.23.10 112 12/12/2024
0.23.9 112 11/29/2024
0.23.8 158 11/1/2024
0.23.7 4,255 10/9/2024
0.23.6 747 9/21/2024
0.23.5 136 9/15/2024
0.23.4 147 9/7/2024
0.23.3 150 8/15/2024
0.23.2 149 6/28/2024
0.23.1 137 6/22/2024
0.23.0 210 4/25/2024
0.22.0 241 2/26/2024
0.21.16 290 11/16/2023
0.21.15 116 11/16/2023
0.21.14 183 11/15/2023
0.21.13 143 11/14/2023
0.21.12 267 10/27/2023
0.21.11 285 10/24/2023
0.21.9 313 9/27/2023
0.21.8 289 9/26/2023
0.21.7 274 9/26/2023
0.21.6 271 9/20/2023
0.21.5 219 9/18/2023
0.21.4 201 9/17/2023
0.21.3 236 9/14/2023
0.21.2 257 9/4/2023
0.21.1 306 8/15/2023
0.21.0 233 6/25/2023
0.20.27 190 6/15/2023
0.20.26 174 6/5/2023
0.20.25 177 6/3/2023
0.20.24 165 6/1/2023
0.20.23 185 5/31/2023
0.20.22 189 5/21/2023
0.20.21 186 5/15/2023
0.20.20 220 5/11/2023
0.20.19 190 5/8/2023
0.20.18 176 5/8/2023
0.20.17 188 5/4/2023
0.20.16 184 5/1/2023
0.20.15 211 4/27/2023
0.20.14 241 4/21/2023
0.20.13 251 4/13/2023
0.20.12 336 3/17/2023
0.20.11 295 3/15/2023
0.20.10 264 3/15/2023
0.20.9 282 3/14/2023
0.20.8 262 3/14/2023
0.20.7 268 3/13/2023
0.20.6 269 3/11/2023
0.20.5 276 3/11/2023
0.20.4 281 3/9/2023
0.20.3 285 3/8/2023
0.20.2 278 3/7/2023
0.20.1 291 3/7/2023
0.20.0 348 2/22/2023
0.19.3 331 2/19/2023
0.19.2 352 2/2/2023
0.18.1 500 11/11/2022
0.18.0 461 11/7/2022
0.17.0 500 9/11/2022
0.16.5 558 7/29/2022

# trperf
## Summary
Perform performance analysis of an Antlr grammar parse
## Description
Parse files and output to stdout parse tree data using
performance analysis turned on.
The tool requires a pre-built parser via trgen for a grammar
for anything other than the standard parser grammars that
are supported. To specify the grammar, you can either
be in a trgen-generated parser directory, or use the -p option.
## Usage
trperf (<string> | <options>)*
-i, --input      String to parse.
-s, --start-rule Start rule name.
-p, --parser     Location of pre-built parser (aka the trgen Generated/ directory)
## Examples
# print out performance data for a parse, ignore the header line, sort on "Max k", and output in a formatted table.
trperf aggregate01.sql | tail -n +2 | sort -k6 -n -r | column -t
## Current version
0.20.21 Updates to trfoldlit, trconvert (rex, pegjs, kocmanllk but incomplete, trparse, trstrip. Add trcover. Fix trgen for Java with Java/ files. Parse tree attributes added. NB: not all Trash tools supported yet.