view src/testdir/bench_re_freeze.in @ 18269:57b18521216f v8.1.2129

patch 8.1.2129: using hard coded executable path in test Commit: https://github.com/vim/vim/commit/1ac41a5c1352306942344777d2ba86dccd84ffad Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 10 13:30:12 2019 +0200 patch 8.1.2129: using hard coded executable path in test Problem: Using hard coded executable path in test. Solution: Use v:progpath. Use $VIMRUNTIME instead of "runtime". (James McCoy, closes #5025)
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Oct 2019 13:45: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: