← Index
NYTProf Performance Profile   « line view »
For rbm/rbm
  Run on Wed Feb 12 03:38:15 2020
Reported on Wed Feb 12 04:56:37 2020

Filename/root/tor-browser-build/projects/snowflake/build
StatementsExecuted 68 statements in 1.04ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
211748µs1483sTemplate::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 1483s (748µs+1483) within Template::Document::__ANON__[/root/tor-browser-build/projects/snowflake/build:37] which was called 2 times, avg 741s/call: # 2 times (748µs+1483s) by Template::Document::process at line 163 of Template/Document.pm, avg 741s/call
2260µs428.0ms$output .= $stash->get(['c', [ 'var/set_default_env' ]]);
# spent 14.0ms making 2 calls to Template::Stash::XS::get, avg 7.01ms/call # spent 14.0ms making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:640], avg 7.00ms/call
32152µs82.30s#line 3 "/root/tor-browser-build/projects/snowflake/build"
# spent 1.15s making 4 calls to Template::Stash::XS::get, avg 288ms/call # spent 1.08s making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:640], avg 542ms/call # spent 67.6ms making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:645], avg 33.8ms/call
4427µ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 6µs/call
5438µs419.7ms$output .= "\ndistdir=/var/tmp/dist/";
# spent 9.86ms making 2 calls to Template::Stash::XS::get, avg 4.93ms/call # spent 9.85ms making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:640], avg 4.92ms/call
623µs#line 4 "/root/tor-browser-build/projects/snowflake/build"
721µs$output .= $stash->get('project');
8443µs44.08s$output .= "\n";
# spent 2.04s making 2 calls to Template::Stash::XS::get, avg 1.02s/call # spent 2.04s making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:640], avg 1.02s/call
9442µs43.92s#line 5 "/root/tor-browser-build/projects/snowflake/build"
# spent 1.96s making 2 calls to Template::Stash::XS::get, avg 980ms/call # spent 1.96s making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:640], avg 980ms/call
10454µs41260s$output .= $stash->get(['c', [ 'var/set_PTDIR_DOCSDIR' ]]);
# spent 630s making 2 calls to Template::Stash::XS::get, avg 315s/call # spent 630s making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:640], avg 315s/call
11444µs4139s$output .= "mkdir -p \$PTDIR \$DOCSDIR\n\ntar -C /var/tmp/dist -xf ";
# spent 69.3s making 2 calls to Template::Stash::XS::get, avg 34.6s/call # spent 69.3s making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:640], avg 34.6s/call
1223µs#line 8 "/root/tor-browser-build/projects/snowflake/build"
13$output .= $stash->get(['c', [ 'input_files_by_name/uniuri' ]]);
14489µs6544ms$output .= "\ntar -C /var/tmp/dist -xf ";
# spent 272ms making 4 calls to Template::Stash::XS::get, avg 68.0ms/call # spent 272ms making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:640], avg 136ms/call
15861µs6152µs#line 9 "/root/tor-browser-build/projects/snowflake/build"
# spent 93µs making 4 calls to Template::Stash::XS::get, avg 23µs/call # spent 59µs making 2 calls to RBM::__ANON__[rbm/lib/RBM.pm:640], avg 29µs/call
16468µ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"
22494µs1220.9ms$output .= $stash->get(['c', [ 'input_files_by_name/quic-go' ]]);
# spent 10.5ms making 4 calls to Template::Stash::XS::get, avg 2.63ms/call # spent 10.4ms making 4 calls to RBM::__ANON__[rbm/lib/RBM.pm:640], avg 2.60ms/call # spent 16µs making 4 calls to Template::Stash::undefined, avg 4µ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');
2645µs$output .= "-";
27#line 14 "/root/tor-browser-build/projects/snowflake/build"
282209µs101556s$output .= $stash->get(['c', [ 'version' ]]);
# spent 778s making 6 calls to Template::Stash::XS::get, avg 130s/call # spent 778s making 4 calls to RBM::__ANON__[rbm/lib/RBM.pm:640], avg 195s/call
2925µs$output .= ".tar.gz\ncd /var/tmp/build/";
30#line 15 "/root/tor-browser-build/projects/snowflake/build"
3122µs$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";
36222µs#line 22 "/root/tor-browser-build/projects/snowflake/build"
37if ($stash->get(['c', [ 'var/windows' ]])) {
38221µ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