Skip to content
Permalink
Browse files

Update help text for reworked profiling options

  • Loading branch information...
MasterDuke17 committed May 19, 2019
1 parent f077f57 commit 31e534cf4d4da064c9ee39509b7811ec7d7fbe9a
Showing with 16 additions and 8 deletions.
  1. +16 −8 src/Perl6/Compiler.nqp
@@ -89,13 +89,19 @@ class Perl6::Compiler is HLL::Compiler {
my $compiler := nqp::getcomp("perl6").backend.name;
my $moar-options := '';
if nqp::getcomp("perl6").backend.name eq 'moar' {
$moar-options := q --profile[=kind] write profile information to an HTML file
instrumented - performance measurements (default)
heap - record heap snapshots after every garbage
collector run
--profile-compile[=kind]
write compile-time profile information to an HTML
file
$moar-options := q --profile[=name] write profile information to a file
Extension controls format:
.json outputs in JSON
.sql outputs in SQL
any other extension outputs in HTML
--profile-compile[=name]
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)
heap - record heap snapshots after every garbage
collector run
@@ -105,9 +111,11 @@ class Perl6::Compiler is HLL::Compiler {
.json outputs in JSON
.sql outputs in SQL
any other extension outputs in HTML
This option will go away in a future Rakudo release
--profile-stage=stage
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
--debug-port=port listen for incoming debugger connections
--debug-suspend pause execution at the entry point

0 comments on commit 31e534c

Please sign in to comment.
You can’t perform that action at this time.