(CommandList children: [ (C {(set)} {(-o)} {(nounset)}) (C {(set)} {(-o)} {(pipefail)}) (C {(set)} {(-o)} {(errexit)}) (Assignment keyword: Assign_Readonly pairs: [ (assign_pair lhs: (LhsName name:BIGGEST) op: Equal rhs: {(benchmarks/testdata/configure-coreutils)} spids: [46] ) ] spids: [44] ) (Assignment keyword: Assign_Readonly pairs: [ (assign_pair lhs: (LhsName name:ABUILD) op: Equal rhs: {(benchmarks/testdata/abuild)} spids: [51] ) ] spids: [49] ) (Assignment keyword: Assign_Readonly flags: [-a] pairs: [ (assign_pair lhs: (LhsName name:RUN_ABUILD) op: Equal rhs: {(ArrayLiteralPart words:[{(bin/oil.py)} {(osh)} {($ VSub_Name '$ABUILD')} {(-h)}])} spids: [58] ) ] spids: [54] ) (Assignment keyword: Assign_Readonly flags: [-a] pairs: [ (assign_pair lhs: (LhsName name:OSH_PARSE) op: Equal rhs: {(ArrayLiteralPart words:[{(bin/oil.py)} {(osh)} {(--ast-format)} {(none)} {(-n)}])} spids: [79] ) ] spids: [75] ) (FuncDef name: time-bash-run-abuild body: (BraceGroup children: [ (Sentence child: (TimeBlock pipeline:(C {(bash)} {($ VSub_Name '$ABUILD')} {(-h)})) terminator: <Op_Semi ';'> ) ] spids: [107] ) spids: [103 106] ) (FuncDef name: time-run-abuild body: (BraceGroup children: [ (Sentence child: (TimeBlock pipeline: (C { (DQ (BracedVarSub token: <VSub_Name RUN_ABUILD> bracket_op: (WholeArray op_id:Lit_At) spids: [136 141] ) ) } ) ) terminator: <Op_Semi ';'> ) ] spids: [131] ) spids: [127 130] ) (FuncDef name: time-parse-abuild body: (BraceGroup children: [ (Sentence child: (TimeBlock pipeline: (C { (DQ (BracedVarSub token: <VSub_Name OSH_PARSE> bracket_op: (WholeArray op_id:Lit_At) spids: [156 161] ) ) } {($ VSub_Name '$ABUILD')} ) ) terminator: <Op_Semi ';'> ) ] spids: [151] ) spids: [147 150] ) (FuncDef name: time-parse-biggest body: (BraceGroup children: [ (Sentence child: (TimeBlock pipeline: (C { (DQ (BracedVarSub token: <VSub_Name OSH_PARSE> bracket_op: (WholeArray op_id:Lit_At) spids: [179 184] ) ) } {($ VSub_Name '$BIGGEST')} ) ) terminator: <Op_Semi ';'> ) ] spids: [174] ) spids: [170 173] ) (FuncDef name: _cprofile body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:out) op: Equal rhs: {($ VSub_Number '$1')} spids: [202] ) ] spids: [200] ) (C {(shift)}) (TimeBlock pipeline: (C {(python)} {(-m)} {(cProfile)} {(-o)} {($ VSub_Name '$out')} {(DQ ($ VSub_At '$@'))}) ) ] spids: [197] ) spids: [193 196] ) (FuncDef name: cprofile-osh-parse body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:in) op: Equal rhs: { (BracedVarSub token: <VSub_Number 1> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {($ VSub_Name '$ABUILD')} ) spids: [241 245] ) } spids: [240] ) ] spids: [238] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:out) op: Equal rhs: { (BracedVarSub token: <VSub_Number 2> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(abuild.cprofile)}) spids: [251 255] ) } spids: [250] ) ] spids: [248] ) (C {(_cprofile)} {($ VSub_Name '$out')} { (DQ (BracedVarSub token: <VSub_Name OSH_PARSE> bracket_op: (WholeArray op_id:Lit_At) spids: [263 268] ) ) } {($ VSub_Name '$in')} ) (C {(ls)} {(-l)} {($ VSub_Name '$out')}) ] spids: [235] ) spids: [231 234] ) (FuncDef name: cprofile-parse-abuild body: (BraceGroup children: [(C {(cprofile-osh-parse)} {($ VSub_Name '$ABUILD')} {(_tmp/abuild.cprofile)})] spids: [287] ) spids: [283 286] ) (FuncDef name: cprofile-parse-biggest body: (BraceGroup children: [(C {(cprofile-osh-parse)} {($ VSub_Name '$BIGGEST')} {(_tmp/biggest.cprofile)})] spids: [302] ) spids: [298 301] ) (FuncDef name: cprofile-run-abuild body: (BraceGroup children: [ (C {(_cprofile)} {(_tmp/abuild-run.cprofile)} { (DQ (BracedVarSub token: <VSub_Name RUN_ABUILD> bracket_op: (WholeArray op_id:Lit_At) spids: [325 330] ) ) } ) ] spids: [317] ) spids: [313 316] ) (FuncDef name: strace-run-abuild body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:filter) op: Equal rhs: {(SQ <'execve,wait4'>)} spids: [355] ) ] spids: [353] ) (TimeBlock pipeline: (C {(strace)} {(-ff)} {(-e)} {(DQ ($ VSub_Name '$filter'))} { (DQ (BracedVarSub token: <VSub_Name RUN_ABUILD> bracket_op: (WholeArray op_id:Lit_At) spids: [375 380] ) ) } ) ) ] spids: [346] ) spids: [342 345] ) (FuncDef name: print-cprofile body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:profile) op: Equal rhs: { (BracedVarSub token: <VSub_Number 1> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {(_tmp) (Lit_Slash /) (abuild.cprofile)} ) spids: [409 415] ) } spids: [408] ) ] spids: [406] ) (C {(python)} {(-c)} { (SQ <'\n'> <'import pstats\n'> <'import sys\n'> <'p = pstats.Stats(sys.argv[1])\n'> <'p.sort_stats("tottime").print_stats()\n'> ) } {($ VSub_Name '$profile')} ) ] spids: [403] ) spids: [399 402] ) (FuncDef name: abuild-trace body: (BraceGroup children: [ (SimpleCommand words: [ {(KW_Time time)} { (DQ (BracedVarSub token: <VSub_Name PARSE_ABUILD> bracket_op: (WholeArray op_id:Lit_At) spids: [485 490] ) ) } ] more_env: [(env_pair name:_PY_TRACE val:{(abuild.pytrace)} spids:[479])] ) ] spids: [476] ) spids: [472 475] ) (FuncDef name: parse body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:script) op: Equal rhs: {($ VSub_Number '$0')} spids: [522] ) ] spids: [520] ) (TimeBlock pipeline: (SimpleCommand words: [{(bin/oil.py)} {(osh)} {(--ast-format)} {(none)} {(-n)} {($ VSub_Name '$script')}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/dev/null)} spids: [540] ) ] ) ) ] spids: [513] ) spids: [509 512] ) (FuncDef name: execute body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:script) op: Equal rhs: {($ VSub_Number '$0')} spids: [562] ) ] spids: [560] ) (TimeBlock pipeline:(C {(bin/oil.py)} {(osh)} {($ VSub_Number '$0')})) (C {(ls)} {(-l)} {(-h)} {(Lit_Other '*') (.json)}) ] spids: [553] ) spids: [549 552] ) (C {(DQ ($ VSub_At '$@'))}) ] )