Filename | /root/tor-browser-build/projects/snowflake/build |
Statements | Executed 68 statements in 847µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
2 | 1 | 1 | 546µs | 1090s | __ANON__[:37] | Template::Document::
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 | ||||
2 | 2 | 45µs | 4 | 33.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 |
3 | 2 | 123µs | 8 | 2.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 |
4 | 4 | 29µ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 5µs/call |
5 | 4 | 35µs | 4 | 23.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 |
6 | 2 | 4µs | #line 4 "/root/tor-browser-build/projects/snowflake/build" | ||
7 | 2 | 1µs | $output .= $stash->get('project'); | ||
8 | 4 | 42µs | 4 | 3.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 |
9 | 4 | 45µs | 4 | 3.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 |
10 | 4 | 47µs | 4 | 959s | $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 |
11 | 4 | 44µs | 4 | 102s | $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 |
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 | 70µs | 6 | 70.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 |
15 | 8 | 45µs | 6 | 72µ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 |
16 | 4 | 40µ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 | 63µs | 12 | 17.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'); | ||||
26 | 4 | 3µs | $output .= "-"; | ||
27 | #line 14 "/root/tor-browser-build/projects/snowflake/build" | ||||
28 | 2 | 165µs | 10 | 1111s | $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 |
29 | 2 | 3µs | $output .= ".tar.gz\ncd /var/tmp/build/"; | ||
30 | #line 15 "/root/tor-browser-build/projects/snowflake/build" | ||||
31 | 2 | 800ns | $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 | 18µs | #line 22 "/root/tor-browser-build/projects/snowflake/build" | ||
37 | if ($stash->get(['c', [ 'var/windows' ]])) { | ||||
38 | 2 | 23µ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 |