annotate src/testdir/bench_re_freeze.in @ 19713:8514e8b7e661
v8.2.0413
patch 8.2.0413: buffer menu does not handle special buffers properly
Commit: https://github.com/vim/vim/commit/5e94a29ebbde10dd973d58f1adba9a2fc83877d1
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 19 18:46:57 2020 +0100
patch 8.2.0413: buffer menu does not handle special buffers properly
Problem: Buffer menu does not handle special buffers properly.
Solution: Keep a dictionary with buffer names to reliably keep track of
entries.
Also trigger BufFilePre and BufFilePost for command-line and
terminal buffers when the name changes.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Thu, 19 Mar 2020 19:00:04 +0100 |
parents |
adfbffe1e642 |
children |
|
rev |
line source |
6328
|
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:
|