← Index
NYTProf Performance Profile   « line view »
For rbm/rbm
  Run on Wed Feb 12 20:36:06 2020
Reported on Wed Feb 12 21:42:27 2020

Filename/root/tor-browser-build/projects/snowflake/build
StatementsExecuted 68 statements in 847µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
211546µs1090sTemplate::Document::::__ANON__[:37]Template::Document::__ANON__[:37]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
# spent 1090s (546µs+1090) within Template::Document::__ANON__[/root/tor-browser-build/projects/snowflake/build:37] which was called 2 times, avg 545s/call: # 2 times (546µs+1090s) by Template::Document::process at line 163 of Template/Document.pm, avg 545s/call
2245µs433.5ms$output .= $stash->get(['c', [ 'var/set_default_env' ]]);
# spent 16.8ms making 2 calls to Template::Stash::XS::get, avg 8.38ms/call # spent 16.7ms making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:652], avg 8.36ms/call
32123µs82.04s#line 3 "/root/tor-browser-build/projects/snowflake/build"
# spent 1.02s making 4 calls to Template::Stash::XS::get, avg 255ms/call # spent 956ms making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:652], avg 478ms/call # spent 62.8ms making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:657], avg 31.4ms/call
4429µs211µs$output .= $stash->get(['pc', [ 'go', 'var/setup', { 'go_tarfile' => $stash->get(['c', [ 'input_files_by_name/go' ]]) } ]]);
# spent 11µs making 2 calls to Template::Stash::XS::get, avg 5µs/call
5435µs423.8ms$output .= "\ndistdir=/var/tmp/dist/";
# spent 11.9ms making 2 calls to Template::Stash::XS::get, avg 5.97ms/call # spent 11.9ms making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:652], avg 5.95ms/call
624µs#line 4 "/root/tor-browser-build/projects/snowflake/build"
721µs$output .= $stash->get('project');
8442µs43.26s$output .= "\n";
# spent 1.63s making 2 calls to Template::Stash::XS::get, avg 814ms/call # spent 1.63s making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:652], avg 814ms/call
9445µs43.19s#line 5 "/root/tor-browser-build/projects/snowflake/build"
# spent 1.60s making 2 calls to Template::Stash::XS::get, avg 798ms/call # spent 1.60s making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:652], avg 798ms/call
10447µs4959s$output .= $stash->get(['c', [ 'var/set_PTDIR_DOCSDIR' ]]);
# spent 479s making 2 calls to Template::Stash::XS::get, avg 240s/call # spent 479s making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:652], avg 240s/call
11444µs4102s$output .= "mkdir -p \$PTDIR \$DOCSDIR\n\ntar -C /var/tmp/dist -xf ";
# spent 50.8s making 2 calls to Template::Stash::XS::get, avg 25.4s/call # spent 50.8s making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:652], avg 25.4s/call
1223µs#line 8 "/root/tor-browser-build/projects/snowflake/build"
13$output .= $stash->get(['c', [ 'input_files_by_name/uniuri' ]]);
14470µs670.1ms$output .= "\ntar -C /var/tmp/dist -xf ";
# spent 35.1ms making 4 calls to Template::Stash::XS::get, avg 8.76ms/call # spent 35.0ms making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:652], avg 17.5ms/call
15845µs672µs#line 9 "/root/tor-browser-build/projects/snowflake/build"
# spent 47µs making 4 calls to Template::Stash::XS::get, avg 12µs/call # spent 26µs making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:652], avg 13µs/call
16440µs$output .= $stash->get(['c', [ 'input_files_by_name/goptlib' ]]);
17$output .= "\ntar -C /var/tmp/dist -xf ";
18#line 10 "/root/tor-browser-build/projects/snowflake/build"
19$output .= $stash->get(['c', [ 'input_files_by_name/pion-webrtc' ]]);
20$output .= "\ntar -C /var/tmp/dist -xf ";
21#line 11 "/root/tor-browser-build/projects/snowflake/build"
22463µs1217.6ms$output .= $stash->get(['c', [ 'input_files_by_name/quic-go' ]]);
# spent 8.84ms making 4 calls to Template::Stash::XS::get, avg 2.21ms/call # spent 8.78ms making 4 calls to RBM::__ANON__[rbm/lib/RBM.pm:652], avg 2.19ms/call # spent 9µs making 4 calls to Template::Stash::undefined, avg 2µs/call
23$output .= "\n\nmkdir -p /var/tmp/build\ntar -C /var/tmp/build -xf ";
24#line 14 "/root/tor-browser-build/projects/snowflake/build"
25$output .= $stash->get('project');
2643µs$output .= "-";
27#line 14 "/root/tor-browser-build/projects/snowflake/build"
282165µs101111s$output .= $stash->get(['c', [ 'version' ]]);
# spent 555s making 6 calls to Template::Stash::XS::get, avg 92.6s/call # spent 555s making 4 calls to RBM::__ANON__[rbm/lib/RBM.pm:652], avg 139s/call
2923µs$output .= ".tar.gz\ncd /var/tmp/build/";
30#line 15 "/root/tor-browser-build/projects/snowflake/build"
312800ns$output .= $stash->get('project');
32$output .= "-";
33#line 15 "/root/tor-browser-build/projects/snowflake/build"
34$output .= $stash->get(['c', [ 'version' ]]);
35$output .= "\n\nmkdir -p \"\$GOPATH/src/git.torproject.org/pluggable-transports\"\nln -sf \"\$PWD\" \"\$GOPATH/src/git.torproject.org/pluggable-transports/snowflake.git\"\n\ncd client\ngo build -ldflags '-s'\ncp -a client";
36218µs#line 22 "/root/tor-browser-build/projects/snowflake/build"
37if ($stash->get(['c', [ 'var/windows' ]])) {
38223µs$output .= ".exe";
39}
40
41$output .= " \$PTDIR/snowflake-client";
42#line 22 "/root/tor-browser-build/projects/snowflake/build"
43if ($stash->get(['c', [ 'var/windows' ]])) {
44$output .= ".exe";
45}
46
47$output .= "\n\ncd ..\ncp -a README.md \$DOCSDIR\n\ncd \$distdir\n";
48#line 28 "/root/tor-browser-build/projects/snowflake/build"
49$output .= $stash->get(['c', [ 'tar', { 'tar_src' => [ '.' ], 'tar_args' => '-czf ' . $stash->get('dest_dir') . '/' . $stash->get(['c', [ 'filename' ]]) } ]]);
50$output .= "\n";
51 } };
52 if ($@) {
53 $_tt_error = $context->catch($@, \$output);
54 die $_tt_error unless $_tt_error->type eq 'return';
55 }
56
57 return $output;
58}
59