annotate src/testdir/bench_re_freeze.in @ 7611:9c420b8db435 v7.4.1105

commit https://github.com/vim/vim/commit/9bbf63dbf8286fadc0cd6b3428010abb67b1b64d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 16 16:49:28 2016 +0100 patch 7.4.1105 Problem: When using slices there is a mixup of variable name and namespace. Solution: Recognize variables that can't be a namespace. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Sat, 16 Jan 2016 17:00:05 +0100
parents adfbffe1e642
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Test for Benchmarking RE engine
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 STARTTEST
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 :so small.vim
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 :if !has("reltime") | qa! | endif
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 :set nocp cpo&vim
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :so bench_re_freeze.vim
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :call Measure('samples/re.freeze.txt', '\s\+\%#\@<!$', '+5')
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :/^" Benchmark/,$w! benchmark.out
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :qa!
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 ENDTEST
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 " Benchmark_results: