view src/testdir/bench_re_freeze.in @ 7096:00b9f0c048db v7.4.860

commit https://github.com/vim/vim/commit/a122b5e98afe18c9cfdab31b77d2a9fbb8e36416 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 8 19:13:51 2015 +0200 patch 7.4.860 Problem: Filetype detection is outdated. Solution: Include all recent and not-so-recent changes.
author Christian Brabandt <cb@256bit.org>
date Tue, 08 Sep 2015 19:15: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: