view src/testdir/bench_re_freeze.in @ 13968:d111462e0173 v8.1.0002

patch 8.1.0002: :stopinsert changes the message position commit https://github.com/vim/vim/commit/2abad54cede7c33f090fbde19a9a3eb3dbf78e53 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 19 14:43:45 2018 +0200 patch 8.1.0002: :stopinsert changes the message position Problem: :stopinsert changes the message position. Solution: Save and restore msg_col and msg_row in clearmode(). (Jason Franklin)
author Christian Brabandt <cb@256bit.org>
date Sat, 19 May 2018 14:45:04 +0200
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: