annotate src/testdir/bench_re_freeze.in @ 19675:bee179e81f28
v8.2.0394
patch 8.2.0394: Coverity complains about using NULL pointer
Commit: https://github.com/vim/vim/commit/7f009dfa064240d9024b76212535a35231912511
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 16 20:27:38 2020 +0100
patch 8.2.0394: Coverity complains about using NULL pointer
Problem: Coverity complains about using NULL pointer.
Solution: Use empty string when option value is NULL.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 16 Mar 2020 20:30: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:
|