view src/testdir/bench_re_freeze.in @ 16953:95975a82df42 v8.1.1477

patch 8.1.1477: test summary fails in the tiny version commit https://github.com/vim/vim/commit/c7500f9cb5b9fbedb9f1a385fdc3790335054bd3 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 6 14:08:50 2019 +0200 patch 8.1.1477: test summary fails in the tiny version Problem: Test summary fails in the tiny version. Solution: set 'nocompatible'.
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Jun 2019 14:15:05 +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: