view src/testdir/bench_re_freeze.in @ 17624:4c7097a980a5 v8.1.1809

patch 8.1.1809: more functions can be used as a method commit https://github.com/vim/vim/commit/a74e4946de074d2916e3d6004f7fa1810d12dda9 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 4 17:35:53 2019 +0200 patch 8.1.1809: more functions can be used as a method Problem: More functions can be used as a method. Solution: Add has_key(), split(), str2list(), etc.
author Bram Moolenaar <Bram@vim.org>
date Sun, 04 Aug 2019 17:45: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: