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