Bram Moolenaar | fda3729 | 2014-11-05 14:27:36 +0100 | [diff] [blame] | 1 | Test for Benchmarking RE engine |
2 | |||||
3 | STARTTEST | ||||
4 | :so small.vim | ||||
5 | :if !has("reltime") | qa! | endif | ||||
6 | :set nocp cpo&vim | ||||
7 | :so bench_re_freeze.vim | ||||
8 | :call Measure('samples/re.freeze.txt', '\s\+\%#\@<!$', '+5') | ||||
9 | :/^" Benchmark/,$w! benchmark.out | ||||
10 | :qa! | ||||
11 | ENDTEST | ||||
12 | |||||
13 | " Benchmark_results: |