view src/testdir/bench_re_freeze.in @ 15343:8543eaf63f65 v8.1.0679

patch 8.1.0679: sign functions do not take buffer argument as documented commit https://github.com/vim/vim/commit/2cbc1a02cb72916dfdbd0d307512c7c3fb766edf Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 2 13:40:31 2019 +0100 patch 8.1.0679: sign functions do not take buffer argument as documented Problem: Sign functions do not take buffer argument as documented. Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/3755)
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Jan 2019 13:45:06 +0100
parents adfbffe1e642
children
line wrap: on
line source

Test for Benchmarking RE engine

STARTTEST
:so small.vim
:if !has("reltime") | qa! | endif
:set nocp cpo&vim
:so bench_re_freeze.vim
:call Measure('samples/re.freeze.txt', '\s\+\%#\@<!$', '+5')
:/^" Benchmark/,$w! benchmark.out
:qa!
ENDTEST

" Benchmark_results: