DPS8M Performance
dps8m.gitlab.io2 ポイント投稿者 trn0 コメント
30 KB pe*
Compare to portable mg: 132 KB mg*
OpenVi is ... 278 KB bin/vi*
An even smaller vi implementation is Xvi. 56 KB src/xvi*
This would be an 'ersatz' vi since it is not built on top of a real ex-mode. noaltwerase nocomment noignorecase nomodeline noreadonly noshowmode nottywerase
noautoindent noedcompatible keytime=6 msgcat="./" noredraw sidescroll=16 noverbose
autoprint escapetime=1 noleftright noprint="" remap noslowopen warn
noautowrite noerrorbells lines=24 nonumber report=5 nosourceany window=23
backup="" noexrc nolisp nooctal noruler tabstop=8 nowindowname
nobeautify noextended nolist open scroll=11 taglength=0 wraplen=0
cdpath=":" filec="" lock optimize nosearchincr tags="tags" wrapmargin=0
cedit="" flash magic path="" nosecure noterse wrapscan
columns=117 hardtabs=0 matchtime=7 print="" shiftwidth=8 notildeop nowriteany
nocombined noiclower mesg prompt noshowmatch timeout
directory="/tmp"
fileencoding="UTF-8"
inputencoding="UTF-8"
paragraphs="IPLPPPQPP LIpplpipbp"
recdir="/var/tmp/vi.recover"
sections="NHSHH HUnhsh"
shell="/bin/zsh"
shellmeta="~{[*?$`'"\"
term="screen-256color"
OpenVi [7.0.13-dev (OpenVi) 02/20/2022]: noaltwerase nocomment noiclower mesg report=5 taglength=0 nowindowname
noautoindent noedcompatible noignorecase noprint="" noruler tags="tags" wraplen=0
autoprint escapetime=2 noimctrl nonumber scroll=11 noterse wrapmargin=0
noautowrite noerrorbells keytime=6 nooctal nosearchincr notildeop wrapscan
backup="" noexpandtab noleftright open nosecure timeout nowriteany
nobeautify noexrc lines=23 path="" shiftwidth=8 nottywerase
nobserase noextended nolist print="" noshowmatch noverbose
cdpath=":" filec=" " lock prompt noshowmode novisibletab
cedit="" noflash magic noreadonly sidescroll=16 warn
columns=117 hardtabs=0 matchtime=7 remap tabstop=8 window=22
imkey="/?aioAIO"
paragraphs="IPLPPPQPP LIpplpipbpBlBdPpLpIt"
recdir="/var/tmp/vi.recover"
sections="NHSHH HUnhshShSs"
shell="/bin/zsh"
shellmeta="~{[*?$`'"\"
term="screen-256color"
OpenBSD vi [7.0-current]: noaltwerase escapetime=1 noleftright path="" noshowmatch warn
noautoindent noerrorbells lines=36 print="" noshowmode window=35
autoprint noexpandtab nolist prompt sidescroll=16 nowindowname
noautowrite noexrc lock noreadonly tabstop=8 wraplen=0
backup="" noextended magic remap taglength=0 wrapmargin=0
nobeautify filec=" " matchtime=7 report=5 tags="tags" wrapscan
cdpath=":" noflash mesg noruler noterse nowriteany
cedit="" hardtabs=0 noprint="" scroll=17 notildeop
columns=108 noiclower nonumber nosearchincr timeout
nocomment noignorecase nooctal nosecure nottywerase
noedcompatible keytime=6 open shiftwidth=8 noverbose
paragraphs="IPLPPPQPP LIpplpipbpBlBdPpLpIt"
recdir="/tmp/vi.recover"
sections="NHSHH HUnhshShSs"
shell="/usr/local/bin/zsh"
shellmeta="~{[\*?$`'"\"
term="screen-256color"
Traditional vi [n-t-roff Heirloom vi (01/14/2017)]: noautoindent nomodelines noshowmode
autoprint nonumber noslowopen
noautowrite open nosourceany
nobeautify nooptimize tabstop=8
directory=/var/tmp paragraphs=IPLPPPQPP LIpplpipbp taglength=0
noedcompatible prompt tags=tags /usr/lib/tags
noerrorbells noreadonly term=screen-256color
noexrc redraw noterse
flash remap timeout
hardtabs=8 report=5 ttytype=screen-256color
noignorecase scroll=17 warn
nolisp sections=NHSHH HUnhsh window=35
nolist shell=/usr/bin/zsh wrapscan
magic shiftwidth=8 wrapmargin=0
mesg noshowmatch nowriteany 36K vi
24K vi-ipc
108K vi-motif
492K libvi.so.0.0.0
660K total
OpenVi does not - it's a single monolithic binary: 280K bin/vi
(Note that I was using the defaults here, I'm sure that it's possible to trim down Nvi 1.8x further, but I'm comparing the default compilations, optimized for size (GCC, -Os, -fdata-sections, -ffunction-sections, link-time GC enabled), but Nvi 1.8x is a much more complicated program, and has a different feature set, and different supported options.