-
-
Notifications
You must be signed in to change notification settings - Fork 559
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bash/blesh): use _ble_exec_time_ata for duration even in bash < 5 (
#1940) Bash < 5.0 doesn't support the high-resolution clock EPOCHREALTIME, so ble.sh uses the builtin command `time` to measure the execution times in Bash < 5.0. This has a lower resolution of milliseconds but still more accurate than Atuin's measurent because Atuin's measurement includes the spawn cost of Atuin, which is typically larger than a millisecond. Reported-by: Georgios Vlassis <https://github.com/gvlassis> Reference: #1484 (comment)
- Loading branch information
1 parent
7ced31c
commit 0da8d34
Showing
1 changed file
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters