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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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.26 3,274 8/17/2025
0.23.25 268 8/9/2025
0.23.24 2,651 7/15/2025
0.23.23 1,031 7/6/2025
0.23.22 634 6/27/2025
0.23.21 1,790 6/6/2025
0.23.20 409 6/4/2025
0.23.19 378 6/4/2025
0.23.18 1,336 5/13/2025
0.23.17 4,292 3/7/2025
0.23.16 556 3/4/2025
0.23.15 194 2/25/2025
0.23.14 699 2/9/2025
0.23.13 443 1/19/2025
0.23.12 459 1/16/2025
0.23.11 2,679 12/18/2024
0.23.10 176 12/12/2024
0.23.9 154 11/29/2024
0.23.8 221 11/1/2024
0.23.7 4,318 10/9/2024
0.23.6 808 9/21/2024
0.23.5 177 9/15/2024
0.23.4 207 9/7/2024
0.23.3 214 8/15/2024
0.23.2 211 6/28/2024
0.23.1 198 6/22/2024
0.23.0 274 4/25/2024
0.22.0 294 2/26/2024
0.21.16 331 11/16/2023
0.21.15 155 11/16/2023
0.21.14 221 11/15/2023
0.21.13 181 11/14/2023
0.21.12 309 10/27/2023
0.21.11 318 10/24/2023
0.21.9 347 9/27/2023
0.21.8 338 9/26/2023
0.21.7 323 9/26/2023
0.21.6 320 9/20/2023
0.21.5 254 9/18/2023
0.21.4 248 9/17/2023
0.21.3 283 9/14/2023
0.21.2 307 9/4/2023
0.21.1 373 8/15/2023
0.21.0 304 6/25/2023
0.20.27 268 6/15/2023
0.20.26 247 6/5/2023
0.20.25 251 6/3/2023
0.20.24 243 6/1/2023
0.20.23 262 5/31/2023
0.20.22 265 5/21/2023
0.20.21 255 5/15/2023
0.20.20 287 5/11/2023
0.20.19 265 5/8/2023
0.20.18 255 5/8/2023
0.20.17 267 5/4/2023
0.20.16 262 5/1/2023
0.20.15 289 4/27/2023
0.20.14 319 4/21/2023
0.20.13 328 4/13/2023
0.20.12 412 3/17/2023
0.20.11 362 3/15/2023
0.20.10 335 3/15/2023
0.20.9 347 3/14/2023
0.20.8 342 3/14/2023
0.20.7 346 3/13/2023
0.20.6 341 3/11/2023
0.20.5 345 3/11/2023
0.20.4 371 3/9/2023
0.20.3 363 3/8/2023
0.20.2 345 3/7/2023
0.20.1 371 3/7/2023
0.20.0 415 2/22/2023
0.19.3 398 2/19/2023
0.19.2 432 2/2/2023
0.18.1 581 11/11/2022
0.18.0 544 11/7/2022
0.17.0 584 9/11/2022
0.16.5 634 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.