view src/testdir/bench_re_freeze.in @ 11095:5763281d212a v8.0.0435

patch 8.0.0435: some functions are not tested commit https://github.com/vim/vim/commit/41042f3cfdb91f946e553456278a995e61dd8578 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 9 12:09:32 2017 +0100 patch 8.0.0435: some functions are not tested Problem: Some functions are not tested. Solution: Add more tests for functions. (Dominique Pelle, closes https://github.com/vim/vim/issues/1541)
author Christian Brabandt <cb@256bit.org>
date Thu, 09 Mar 2017 12:15:04 +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: