aboutsummaryrefslogtreecommitdiff
path: root/tests/test-config-utilities--benchmark-method.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-30 09:17:48 -0500
committerCraig Jennings <c@cjennings.net>2026-04-30 09:17:48 -0500
commit6b8b1978e3fc4bea24a4c73f8f453fcff4d4d76e (patch)
tree83dda24f094e0993295a082118e0d24e7f85268c /tests/test-config-utilities--benchmark-method.el
parentc971b31f6b37b31f9fe912f4c6b781051d386940 (diff)
downloaddotemacs-6b8b1978e3fc4bea24a4c73f8f453fcff4d4d76e.tar.gz
dotemacs-6b8b1978e3fc4bea24a4c73f8f453fcff4d4d76e.zip
refactor(config-utilities): extract cj/--benchmark-method
Splits the timer dispatch out of cj/benchmark-this-method so it can be tested with a known method symbol instead of going through read-string + completing-read. The interactive wrapper still prompts for both inputs, and now catches the user-error from the internal so the user-facing behaviour on invalid input is unchanged (the message goes to the echo area). Returns the funcall's value to the caller, which is observable through the timer.
Diffstat (limited to 'tests/test-config-utilities--benchmark-method.el')
0 files changed, 0 insertions, 0 deletions