I broke up with neovim....vim is my best friend now
This commit is contained in:
16
dot_vim/plugged/vimtex/test/test-indentation-timing/Makefile
Normal file
16
dot_vim/plugged/vimtex/test/test-indentation-timing/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
MYVIM ?= nvim --clean --headless
|
||||
|
||||
INMAKE := 1
|
||||
export INMAKE
|
||||
|
||||
ifeq (, $(shell which hyperfine))
|
||||
.DEFAULT_GOAL := time
|
||||
endif
|
||||
|
||||
.PHONY: hyperfine time
|
||||
|
||||
hyperfine:
|
||||
@hyperfine --min-runs 3 '$(MYVIM) -u test.vim'
|
||||
|
||||
time:
|
||||
@bash -c 'time $(MYVIM) -u test.vim'
|
||||
26
dot_vim/plugged/vimtex/test/test-indentation-timing/test.vim
Normal file
26
dot_vim/plugged/vimtex/test/test-indentation-timing/test.vim
Normal file
@@ -0,0 +1,26 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
let &rtp .= ',../../after'
|
||||
filetype plugin on
|
||||
syntax enable
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
silent edit thesis.tex
|
||||
|
||||
" profile start prof.log
|
||||
" profile func *
|
||||
|
||||
silent normal! gg=G
|
||||
|
||||
" profile pause
|
||||
|
||||
quit!
|
||||
|
||||
" Reported timings
|
||||
" 2019-10-06 @ lotti
|
||||
" Time (mean ± σ): 1.717 s ± 0.041 s [User: 1.703 s, System: 0.013 s]
|
||||
" Range (min … max): 1.681 s … 1.762 s 3 runs
|
||||
" 2019-10-22 @ lotti
|
||||
" Time (mean ± σ): 1.679 s ± 0.005 s [User: 1.670 s, System: 0.007 s]
|
||||
" Range (min … max): 1.674 s … 1.683 s 3 runs
|
||||
3363
dot_vim/plugged/vimtex/test/test-indentation-timing/thesis.tex
Normal file
3363
dot_vim/plugged/vimtex/test/test-indentation-timing/thesis.tex
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user