Skip to content

Commit

Permalink
Update help text for reworked profiling options
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterDuke17 committed May 19, 2019
1 parent f077f57 commit 31e534c
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions src/Perl6/Compiler.nqp
Expand Up @@ -89,13 +89,19 @@ class Perl6::Compiler is HLL::Compiler {
my $compiler := nqp::getcomp("perl6").backend.name; my $compiler := nqp::getcomp("perl6").backend.name;
my $moar-options := ''; my $moar-options := '';
if nqp::getcomp("perl6").backend.name eq 'moar' { if nqp::getcomp("perl6").backend.name eq 'moar' {
$moar-options := q --profile[=kind] write profile information to an HTML file $moar-options := q --profile[=name] write profile information to a file
instrumented - performance measurements (default) Extension controls format:
heap - record heap snapshots after every garbage .json outputs in JSON
collector run .sql outputs in SQL
--profile-compile[=kind] any other extension outputs in HTML
write compile-time profile information to an HTML --profile-compile[=name]
file write compile-time profile information to a file
Extension controls format:
.json outputs in JSON
.sql outputs in SQL
any other extension outputs in HTML
--profile-kind[=name]
choose the type of profile to generate
instrumented - performance measurements (default) instrumented - performance measurements (default)
heap - record heap snapshots after every garbage heap - record heap snapshots after every garbage
collector run collector run
Expand All @@ -105,9 +111,11 @@ class Perl6::Compiler is HLL::Compiler {
.json outputs in JSON .json outputs in JSON
.sql outputs in SQL .sql outputs in SQL
any other extension outputs in HTML any other extension outputs in HTML
This option will go away in a future Rakudo release
--profile-stage=stage --profile-stage=stage
write profile information for the given compilation write profile information for the given compilation
stage to an HTML file stage to a file. Use --profile-compile to set name
and format
--full-cleanup try to free all memory and exit cleanly --full-cleanup try to free all memory and exit cleanly
--debug-port=port listen for incoming debugger connections --debug-port=port listen for incoming debugger connections
--debug-suspend pause execution at the entry point --debug-suspend pause execution at the entry point
Expand Down

0 comments on commit 31e534c

Please sign in to comment.