1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-11-17 11:42:33 +01:00
bats/libexec
Mike Bland 93d3cec96f
exec-test: Use printf -v in bats_frame_* functions
This is part of the effort to improve performance by reducing the number
of command substitutions/subshells spawned by `bats_debug_trap`.

Under Bash 3.2.57(1)-release on a MacBook Pro with a 2.9GHz Intel Core
i5 CPU and 8GB 1867MHz DDR3 RAM, this makes `bin/bats test/` go from:

  44 tests, 0 failures

  real    0m7.565s
  user    0m3.664s
  sys     0m3.368s

to:

  real    0m6.449s
  user    0m3.290s
  sys     0m2.665s
2017-09-30 15:12:37 -04:00
..
bats Updating paths #5 2017-09-24 10:26:25 -07:00
bats-exec-suite Prefer let x+=1 for incrementing counters 2013-10-28 21:01:51 -05:00
bats-exec-test exec-test: Use printf -v in bats_frame_* functions 2017-09-30 15:12:37 -04:00
bats-format-tap-stream Add skipped count tests in the summary 2014-08-13 14:32:35 +01:00
bats-preprocess Support single-line test definitions 2013-11-17 13:04:57 -06:00