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
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: