1
0
mirror of https://github.com/sstephenson/bats.git synced 2025-12-09 18:03:39 +01:00
bats/libexec
Mike Bland daf76c27c1
bats: Convert abs_dirname to use printf -v
Under Bash 3.2.57(1)-release and 4.4.12(1)-release on a MacBook Pro with
a 2.9GHz Intel Core i5 CPU and 8GB 1867MHz DDR3 RAM, this shaves off
O(0.1s) from the current test suite.

Before the change:

  46 tests, 0 failures

  real    0m3.983s
  user    0m2.320s
  sys     0m1.241s

After the change:

  real    0m3.861s
  user    0m2.276s
  sys     0m1.174s
2017-09-30 15:12:38 -04:00
..
bats bats: Convert abs_dirname to use printf -v 2017-09-30 15:12:38 -04:00
bats-exec-suite Prefer let x+=1 for incrementing counters 2013-10-28 21:01:51 -05:00
bats-exec-test exec-test: Replace caller with FUNCNAME, etc. 2017-09-30 15:12:38 -04:00
bats-format-tap-stream Add skipped count tests in the summary 2014-08-13 14:32:35 +01:00
bats-preprocess preprocess: Eliminate eval in subshell 2017-09-30 15:12:38 -04:00