(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:test_description)
          op: Equal
          rhs: {(DQ ('Tests index-pack performance'))}
          spids: [4]
        )
      ]
      spids: [4]
    )
    (C {(.)} {(./perf-lib.sh)})
    (C {(test_perf_large_repo)})
    (C {(test_expect_success)} {(SQ <repack>)} 
      {
        (SQ <'\n'> <'\tgit repack -ad &&\n'> <'\tPACK=$(ls .git/objects/pack/*.pack | head -n1) &&\n'> 
          <'\ttest -f "$PACK" &&\n'> <'\texport PACK\n'>
        )
      }
    )
    (C {(test_perf)} {(SQ <'index-pack 0 threads'>)} 
      {(SQ <'\n'> <'\tGIT_DIR=t1 git index-pack --threads=1 --stdin < $PACK\n'>)}
    )
    (C {(test_perf)} {(SQ <'index-pack 1 thread '>)} 
      {(SQ <'\n'> <'\tGIT_DIR=t2 GIT_FORCE_THREADS=1 git index-pack --threads=1 --stdin < $PACK\n'>)}
    )
    (C {(test_perf)} {(SQ <'index-pack 2 threads'>)} 
      {(SQ <'\n'> <'\tGIT_DIR=t3 git index-pack --threads=2 --stdin < $PACK\n'>)}
    )
    (C {(test_perf)} {(SQ <'index-pack 4 threads'>)} 
      {(SQ <'\n'> <'\tGIT_DIR=t4 git index-pack --threads=4 --stdin < $PACK\n'>)}
    )
    (C {(test_perf)} {(SQ <'index-pack 8 threads'>)} 
      {(SQ <'\n'> <'\tGIT_DIR=t5 git index-pack --threads=8 --stdin < $PACK\n'>)}
    )
    (C {(test_perf)} {(SQ <'index-pack default number of threads'>)} 
      {(SQ <'\n'> <'\tGIT_DIR=t6 git index-pack --stdin < $PACK\n'>)}
    )
    (C {(test_done)})
  ]
)