trperf 0.18.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global trperf --version 0.18.1
                    
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.18.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=trperf&version=0.18.1
                    
nuke :add-package trperf --version 0.18.1
                    

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 net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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.24 328 7/15/2025
0.23.23 835 7/6/2025
0.23.22 481 6/27/2025
0.23.21 1,658 6/6/2025
0.23.20 260 6/4/2025
0.23.19 225 6/4/2025
0.23.18 970 5/13/2025
0.23.17 3,964 3/7/2025
0.23.16 526 3/4/2025
0.23.15 156 2/25/2025
0.23.14 669 2/9/2025
0.23.13 414 1/19/2025
0.23.12 431 1/16/2025
0.23.11 2,635 12/18/2024
0.23.10 136 12/12/2024
0.23.9 135 11/29/2024
0.23.8 182 11/1/2024
0.23.7 4,279 10/9/2024
0.23.6 771 9/21/2024
0.23.5 158 9/15/2024
0.23.4 169 9/7/2024
0.23.3 175 8/15/2024
0.23.2 171 6/28/2024
0.23.1 160 6/22/2024
0.23.0 234 4/25/2024
0.22.0 264 2/26/2024
0.21.16 305 11/16/2023
0.21.15 129 11/16/2023
0.21.14 194 11/15/2023
0.21.13 155 11/14/2023
0.21.12 282 10/27/2023
0.21.11 302 10/24/2023
0.21.9 329 9/27/2023
0.21.8 308 9/26/2023
0.21.7 295 9/26/2023
0.21.6 290 9/20/2023
0.21.5 235 9/18/2023
0.21.4 218 9/17/2023
0.21.3 255 9/14/2023
0.21.2 280 9/4/2023
0.21.1 334 8/15/2023
0.21.0 261 6/25/2023
0.20.27 221 6/15/2023
0.20.26 208 6/5/2023
0.20.25 204 6/3/2023
0.20.24 195 6/1/2023
0.20.23 215 5/31/2023
0.20.22 217 5/21/2023
0.20.21 217 5/15/2023
0.20.20 247 5/11/2023
0.20.19 217 5/8/2023
0.20.18 205 5/8/2023
0.20.17 218 5/4/2023
0.20.16 212 5/1/2023
0.20.15 239 4/27/2023
0.20.14 268 4/21/2023
0.20.13 279 4/13/2023
0.20.12 363 3/17/2023
0.20.11 323 3/15/2023
0.20.10 295 3/15/2023
0.20.9 308 3/14/2023
0.20.8 292 3/14/2023
0.20.7 297 3/13/2023
0.20.6 302 3/11/2023
0.20.5 304 3/11/2023
0.20.4 315 3/9/2023
0.20.3 312 3/8/2023
0.20.2 306 3/7/2023
0.20.1 321 3/7/2023
0.20.0 376 2/22/2023
0.19.3 360 2/19/2023
0.19.2 381 2/2/2023
0.18.1 529 11/11/2022
0.18.0 492 11/7/2022
0.17.0 529 9/11/2022
0.16.5 590 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.18.1 Fix trperf, trfirst. Adding Xalan code. Fix #180. Fix crash in trgen https://github.com/antlr/grammars-v4/issues/2818. Fix #134. Add -e option to trrename. Update Antlr4BuildTasks version. Fix #197, #198. Fix trparse exit code. Add --quiet option to trparse to just get exit code. Change trgen templates to remove -file option, make file name parsing the default.