view src/testdir/bench_re_freeze.in @ 19279:25cb7ab433c6 v8.2.0198

patch 8.2.0198: no tests for y/n prompt Commit: https://github.com/vim/vim/commit/43c60eda2aa22ba3d7aaf418cfbdb75f1a008e67 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 2 15:55:19 2020 +0100 patch 8.2.0198: no tests for y/n prompt Problem: No tests for y/n prompt. Solution: Add tests. (Dominique Pelle, closes https://github.com/vim/vim/issues/5564)
author Bram Moolenaar <Bram@vim.org>
date Sun, 02 Feb 2020 16:00:09 +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: