Filename | /root/tor-browser-build/projects/snowflake/build |
Statements | Executed 68 statements in 1.04ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
2 | 1 | 1 | 748µs | 1483s | __ANON__[:37] | Template::Document::
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 | ||||
2 | 2 | 60µs | 4 | 28.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 |
3 | 2 | 152µs | 8 | 2.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 |
4 | 4 | 27µs | 2 | 11µ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 |
5 | 4 | 38µs | 4 | 19.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 |
6 | 2 | 3µs | #line 4 "/root/tor-browser-build/projects/snowflake/build" | ||
7 | 2 | 1µs | $output .= $stash->get('project'); | ||
8 | 4 | 43µs | 4 | 4.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 |
9 | 4 | 42µs | 4 | 3.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 |
10 | 4 | 54µs | 4 | 1260s | $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 |
11 | 4 | 44µs | 4 | 139s | $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 |
12 | 2 | 3µs | #line 8 "/root/tor-browser-build/projects/snowflake/build" | ||
13 | $output .= $stash->get(['c', [ 'input_files_by_name/uniuri' ]]); | ||||
14 | 4 | 89µs | 6 | 544ms | $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 |
15 | 8 | 61µs | 6 | 152µ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 |
16 | 4 | 68µ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" | ||||
22 | 4 | 94µs | 12 | 20.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'); | ||||
26 | 4 | 5µs | $output .= "-"; | ||
27 | #line 14 "/root/tor-browser-build/projects/snowflake/build" | ||||
28 | 2 | 209µs | 10 | 1556s | $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 |
29 | 2 | 5µs | $output .= ".tar.gz\ncd /var/tmp/build/"; | ||
30 | #line 15 "/root/tor-browser-build/projects/snowflake/build" | ||||
31 | 2 | 2µ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"; | ||||
36 | 2 | 22µs | #line 22 "/root/tor-browser-build/projects/snowflake/build" | ||
37 | if ($stash->get(['c', [ 'var/windows' ]])) { | ||||
38 | 2 | 21µs | $output .= ".exe"; | ||
39 | } | ||||
40 | |||||
41 | $output .= " \$PTDIR/snowflake-client"; | ||||
42 | #line 22 "/root/tor-browser-build/projects/snowflake/build" | ||||
43 | if ($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 |