view src/testdir/bench_re_freeze.in @ 19894:ea4f8e789627 v8.2.0503

patch 8.2.0503: Vim9: some code is not tested Commit: https://github.com/vim/vim/commit/585fea7b98b79f2c6d92fa8a2340e461aff805c8 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 2 22:33:21 2020 +0200 patch 8.2.0503: Vim9: some code is not tested Problem: Vim9: some code is not tested. Solution: Add tests. Fix uncovered problems.
author Bram Moolenaar <Bram@vim.org>
date Thu, 02 Apr 2020 22: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: