view src/testdir/bench_re_freeze.in @ 18376:ccc02b39fb5e v8.1.2182

patch 8.1.2182: test42 seen as binary by git diff Commit: https://github.com/vim/vim/commit/5b39d7adb0b9f02afe242f607d4c96250f06965d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 19 18:37:53 2019 +0200 patch 8.1.2182: test42 seen as binary by git diff Problem: Test42 seen as binary by git diff. Solution: Add .gitattributes file. Make explicit that 'cpo' does not contain 'S'. (Daniel Hahler, closes #5072)
author Bram Moolenaar <Bram@vim.org>
date Sat, 19 Oct 2019 18:45:03 +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: