(command.CommandList
  children: [
    (C {(KW_Set set)} {(-o)} {(nounset)})
    (C {(KW_Set set)} {(-o)} {(pipefail)})
    (C {(KW_Set set)} {(-o)} {(errexit)})
    (C {(readonly)} {(Lit_VarLike 'BIGGEST=') (benchmarks/testdata/configure-coreutils)})
    (C {(readonly)} {(Lit_VarLike 'ABUILD=') (benchmarks/testdata/abuild)})
    (C {(readonly)} {(-a)} 
      {(Lit_VarLike 'RUN_ABUILD=') 
        (sh_array_literal
          left: <Op_LParen '('>
          words: [{(bin/oil.py)} {(osh)} {($ VSub_DollarName '$ABUILD')} {(-h)}]
        )
      }
    )
    (C {(readonly)} {(-a)} 
      {(Lit_VarLike 'OSH_PARSE=') 
        (sh_array_literal
          left: <Op_LParen '('>
          words: [{(bin/oil.py)} {(osh)} {(--ast-format)} {(none)} {(-n)}]
        )
      }
    )
    (command.ShFunction
      name: time-bash-run-abuild
      body: 
        (command.BraceGroup
          children: [
            (command.Sentence
              child: (command.TimeBlock pipeline:(C {(bash)} {($ VSub_DollarName '$ABUILD')} {(-h)}))
              terminator: <Op_Semi ';'>
            )
          ]
        )
    )
    (command.ShFunction
      name: time-run-abuild
      body: 
        (command.BraceGroup
          children: [
            (command.Sentence
              child: 
                (command.TimeBlock
                  pipeline: 
                    (C 
                      {
                        (DQ 
                          (braced_var_sub
                            token: <VSub_Name RUN_ABUILD>
                            bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                          )
                        )
                      }
                    )
                )
              terminator: <Op_Semi ';'>
            )
          ]
        )
    )
    (command.ShFunction
      name: time-parse-abuild
      body: 
        (command.BraceGroup
          children: [
            (command.Sentence
              child: 
                (command.TimeBlock
                  pipeline: 
                    (C 
                      {
                        (DQ 
                          (braced_var_sub
                            token: <VSub_Name OSH_PARSE>
                            bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                          )
                        )
                      } {($ VSub_DollarName '$ABUILD')}
                    )
                )
              terminator: <Op_Semi ';'>
            )
          ]
        )
    )
    (command.ShFunction
      name: time-parse-biggest
      body: 
        (command.BraceGroup
          children: [
            (command.Sentence
              child: 
                (command.TimeBlock
                  pipeline: 
                    (C 
                      {
                        (DQ 
                          (braced_var_sub
                            token: <VSub_Name OSH_PARSE>
                            bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                          )
                        )
                      } {($ VSub_DollarName '$BIGGEST')}
                    )
                )
              terminator: <Op_Semi ';'>
            )
          ]
        )
    )
    (command.ShFunction
      name: _cprofile
      body: 
        (command.BraceGroup
          children: [
            (C {(local)} {(Lit_VarLike 'out=') ($ VSub_Number '$1')})
            (C {(shift)})
            (command.TimeBlock
              pipeline: 
                (C {(python)} {(-m)} {(cProfile)} {(-o)} {($ VSub_DollarName '$out')} 
                  {(DQ ($ VSub_At '$@'))}
                )
            )
          ]
        )
    )
    (command.ShFunction
      name: cprofile-osh-parse
      body: 
        (command.BraceGroup
          children: [
            (C {(local)} 
              {(Lit_VarLike 'in=') 
                (braced_var_sub
                  token: <VSub_Number 1>
                  suffix_op: 
                    (suffix_op.Unary
                      op_id: VTest_ColonHyphen
                      arg_word: {($ VSub_DollarName '$ABUILD')}
                    )
                )
              }
            )
            (C {(local)} 
              {(Lit_VarLike 'out=') 
                (braced_var_sub
                  token: <VSub_Number 2>
                  suffix_op: (suffix_op.Unary op_id:VTest_ColonHyphen arg_word:{(abuild.cprofile)})
                )
              }
            )
            (C {(_cprofile)} {($ VSub_DollarName '$out')} 
              {
                (DQ 
                  (braced_var_sub
                    token: <VSub_Name OSH_PARSE>
                    bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                  )
                )
              } {($ VSub_DollarName '$in')}
            )
            (C {(ls)} {(-l)} {($ VSub_DollarName '$out')})
          ]
        )
    )
    (command.ShFunction
      name: cprofile-parse-abuild
      body: 
        (command.BraceGroup
          children: [
            (C {(cprofile-osh-parse)} {($ VSub_DollarName '$ABUILD')} {(_tmp/abuild.cprofile)})
          ]
        )
    )
    (command.ShFunction
      name: cprofile-parse-biggest
      body: 
        (command.BraceGroup
          children: [
            (C {(cprofile-osh-parse)} {($ VSub_DollarName '$BIGGEST')} {(_tmp/biggest.cprofile)})
          ]
        )
    )
    (command.ShFunction
      name: cprofile-run-abuild
      body: 
        (command.BraceGroup
          children: [
            (C {(_cprofile)} {(_tmp/abuild-run.cprofile)} 
              {
                (DQ 
                  (braced_var_sub
                    token: <VSub_Name RUN_ABUILD>
                    bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                  )
                )
              }
            )
          ]
        )
    )
    (command.ShFunction
      name: strace-run-abuild
      body: 
        (command.BraceGroup
          children: [
            (C {(local)} {(Lit_VarLike 'filter=') (SQ <'execve,wait4'>)})
            (command.TimeBlock
              pipeline: 
                (C {(strace)} {(-ff)} {(-e)} {(DQ ($ VSub_DollarName '$filter'))} 
                  {
                    (DQ 
                      (braced_var_sub
                        token: <VSub_Name RUN_ABUILD>
                        bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                      )
                    )
                  }
                )
            )
          ]
        )
    )
    (command.ShFunction
      name: print-cprofile
      body: 
        (command.BraceGroup
          children: [
            (C {(local)} 
              {(Lit_VarLike 'profile=') 
                (braced_var_sub
                  token: <VSub_Number 1>
                  suffix_op: 
                    (suffix_op.Unary
                      op_id: VTest_ColonHyphen
                      arg_word: {(_tmp) (Lit_Slash /) (abuild.cprofile)}
                    )
                )
              }
            )
            (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_DollarName '$profile')}
            )
          ]
        )
    )
    (command.ShFunction
      name: abuild-trace
      body: 
        (command.BraceGroup
          children: [
            (command.Simple
              words: [
                {(KW_Time time)}
                {
                  (DQ 
                    (braced_var_sub
                      token: <VSub_Name PARSE_ABUILD>
                      bracket_op: (bracket_op.WholeArray op_id:Lit_At)
                    )
                  )
                }
              ]
              more_env: [(env_pair name:_PY_TRACE val:{(abuild.pytrace)})]
            )
          ]
        )
    )
    (command.ShFunction
      name: parse
      body: 
        (command.BraceGroup
          children: [
            (C {(local)} {(Lit_VarLike 'script=') ($ VSub_Number '$0')})
            (command.TimeBlock
              pipeline: 
                (command.Simple
                  words: [
                    {(bin/oil.py)}
                    {(osh)}
                    {(--ast-format)}
                    {(none)}
                    {(-n)}
                    {($ VSub_DollarName '$script')}
                  ]
                  redirects: [(redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(/dev/null)})]
                )
            )
          ]
        )
    )
    (command.ShFunction
      name: execute
      body: 
        (command.BraceGroup
          children: [
            (C {(local)} {(Lit_VarLike 'script=') ($ VSub_Number '$0')})
            (command.TimeBlock pipeline:(C {(bin/oil.py)} {(osh)} {($ VSub_Number '$0')}))
            (C {(ls)} {(-l)} {(-h)} {(Lit_Star '*') (.json)})
          ]
        )
    )
    (C {(DQ ($ VSub_At '$@'))})
  ]
)