paulera/files

Improve performance of `files_debug` calls

paulera opened this issue · 1 comments

Calling the debug function during bootstrap with parameters that require processing impacts performace. Even though the function will do nothing, producing the parameters has its cost. That can be improved.

See: scripts inside bash.d folder.

After some benchmarking, I realised that calling the files_debug function doesn't have as much cost as expected when debug is off.