Mercurial > vim
view src/testdir/bench_re_freeze.in @ 19896:92177b596695 v8.2.0504
patch 8.2.0504: Vim9: leaking scope memory when compilation fails
Commit: https://github.com/vim/vim/commit/3cca299520a4980fd1b124564bd67782ca977c15
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 2 22:57:36 2020 +0200
patch 8.2.0504: Vim9: leaking scope memory when compilation fails
Problem: Vim9: leaking scope memory when compilation fails.
Solution: Cleanup the scope list.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 02 Apr 2020 23:00:03 +0200 |
parents | adfbffe1e642 |
children |
line wrap: on
line source
Test for Benchmarking RE engine STARTTEST :so small.vim :if !has("reltime") | qa! | endif :set nocp cpo&vim :so bench_re_freeze.vim :call Measure('samples/re.freeze.txt', '\s\+\%#\@<!$', '+5') :/^" Benchmark/,$w! benchmark.out :qa! ENDTEST " Benchmark_results: