diff options
| author | David Bremner <david@tethera.net> | 2022-02-12 16:27:35 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-02-25 08:38:03 -0400 |
| commit | b21fa0e43371b8281b9aa8ea532088800bb37712 (patch) | |
| tree | a90f190f5fc3974c3b7308e26760f777c8c6f67e /performance-test | |
| parent | c4c6045058456ea0fb057f7690b91077f1b527b8 (diff) | |
perf-test: allow running test_emacs from performance test suite.
test_require_external prereq has to move to test-lib-common.sh, and
the new shell functions print_emacs_header and time_emacs are provided.
The somewhat indirect way of printing the output is to avoid the extra
"" present on string values from emacsclient.
Diffstat (limited to 'performance-test')
| -rw-r--r-- | performance-test/perf-test-lib.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/performance-test/perf-test-lib.sh b/performance-test/perf-test-lib.sh index 0e4915e3..c34f8cd6 100644 --- a/performance-test/perf-test-lib.sh +++ b/performance-test/perf-test-lib.sh @@ -210,6 +210,11 @@ print_header () printf "\t\t\tWall(s)\tUsr(s)\tSys(s)\tRes(K)\tIn/Out(512B)\n" } +print_emacs_header () +{ + printf "\t\t\tWall(s)\tGCs\tGC time(s)\n" +} + time_run () { printf " %-22s" "$1" |
