view src/testdir/bench_re_freeze.in @ 18086:9d6832a5426f v8.1.2038

patch 8.1.2038: has('vimscript-4') is always 0 Commit: https://github.com/vim/vim/commit/af9143833865a2d8311e57313023271720442f90 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 15 17:49:10 2019 +0200 patch 8.1.2038: has('vimscript-4') is always 0 Problem: has('vimscript-4') is always 0. Solution: Add "vimscript-4" to the feature table. (Naruhiko Nishino, closes #4941)
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Sep 2019 18:00: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: