fishi0x01 / vsh

vsh - HashiCorp Vault interactive shell and cli tool
MIT License
284 stars 12 forks source link

combine vault_exec setup calls #79

Closed mattlqx closed 3 years ago

mattlqx commented 3 years ago

just docker execing a bunch of times adds a decent amount of overhead during test setup. i was able to reduce setup time from 14s to 8s on my system just by combining all the vault_execs that happen during setup as much as possible.

before: make integration-tests  318.37s user 105.12s system 42% cpu 16:32.31 total
after:  make integration-tests  108.12s user  37.11s system 25% cpu  9:19.14 total