]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(indent-tests): Instrument timed "search*()" calls
authorAliaksei Budavei <0x000c70@gmail.com>
Sat, 19 Apr 2025 09:35:02 +0000 (11:35 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 19 Apr 2025 09:35:02 +0000 (11:35 +0200)
commitfe8508eda002196bd9095c35ea7892bce06bb6d2
treee0e9326a791922314ddbac71fdfac09c799edfd0
parent6924eb81f4e69726f59eaa0c121b7442343d770d
runtime(indent-tests): Instrument timed "search*()" calls

The offered "tracer.vim" script can be used to measure and
record elapsed time for explicitly annotated "search*()"es,
set off with "VIM_INDENT_TEST_TRACE_(START|END)" comment
markers, in indent plugins.

related: #17116

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Filelist
runtime/indent/testdir/tools/tracer.vim [new file with mode: 0644]