t / perf / p4000-diff-algorithms.shon commit Merge branch 'po/clang-format-functype-weight' (0c13c4f)
   1#!/bin/sh
   2
   3test_description="Tests diff generation performance"
   4
   5. ./perf-lib.sh
   6
   7test_perf_default_repo
   8
   9test_perf 'log -3000 (baseline)' '
  10        git log -3000 >/dev/null
  11'
  12
  13test_perf 'log --raw -3000 (tree-only)' '
  14        git log --raw -3000 >/dev/null
  15'
  16
  17test_perf 'log -p -3000 (Myers)' '
  18        git log -p -3000 >/dev/null
  19'
  20
  21test_perf 'log -p -3000 --histogram' '
  22        git log -p -3000 --histogram >/dev/null
  23'
  24
  25test_perf 'log -p -3000 --patience' '
  26        git log -p -3000 --patience >/dev/null
  27'
  28
  29test_done