neovim/test/functional
Pablo Arias 8e739af064
fix(startup): multiprocess startuptime #26790
Problem:
Since 2448816956, the --startuptime report shows
two blocks of data. The TUI process and its embedded nvim process write to the
file concurrently, which may interleave the two startup sequences into the same
timeline.

Solution:
Report each process as a separate section in the same file.
1. Each process buffers the full report.
2. After startup is finished, the buffer is flushed (appended) to the file.

Fix #23036
Sample report:

    --- Startup times for process: Primary/TUI ---

    times in msec
     clock   self+sourced   self:  sourced script
     clock   elapsed:              other lines

    000.006  000.006: --- NVIM STARTING ---
    000.428  000.422: event init
    000.728  000.301: early init
    ...
    005.880  000.713: init highlight
    005.882  000.002: --- NVIM STARTED ---

    --- Startup times for process: Embedded ---

    times in msec
     clock   self+sourced   self:  sourced script
     clock   elapsed:              other lines

    000.006  000.006: --- NVIM STARTING ---
    000.409  000.403: event init
    000.557  000.148: early init
    000.633  000.077: locale set
    ...
    014.383  000.430: first screen update
    014.387  000.003: --- NVIM STARTED ---
2024-02-09 14:56:52 -08:00
..
api feat(api): pass 0 to nvim_get_chan_info for current channel (#27321) 2024-02-08 18:59:31 +08:00
autocmd vim-patch:9.1.0088: TextChanged not triggered for :norm! commands (#27405) 2024-02-10 06:53:26 +08:00
core fix(startup): multiprocess startuptime #26790 2024-02-09 14:56:52 -08:00
editor test: add test for 'foldcolumn' with cmdwin (#27355) 2024-02-06 11:44:53 +08:00
ex_cmds vim-patch:9.1.0046: :drop does not re-use empty buffer (#27165) 2024-01-24 07:29:33 +08:00
fixtures build: create separate targets for nvim with and without runtime files 2024-01-20 12:59:27 +01:00
legacy vim-patch:9.1.0084: Visual hl wrong when it ends before multibyte 'showbreak' (#27404) 2024-02-10 06:53:10 +08:00
lua fix(lsp): handle adjacent snippet tabstops 2024-02-05 15:03:46 +00:00
options vim-patch:9.1.0039: too vague errors for 'listchars'/'fillchars' (#27070) 2024-01-18 07:14:12 +08:00
plugin feat(lsp): deprecate severity_limit 2024-02-08 16:58:49 +00:00
provider refactor: rewrite python provider in lua 2024-01-22 22:36:40 +01:00
shada test: move format_{string,luav} to a separate module 2024-01-17 10:10:17 +00:00
terminal test(tui_spec): prevent race between nvim_input and nvim_paste (#27356) 2024-02-06 14:05:49 +08:00
treesitter feat(treesitter): show root nodes in :InspectTree (#26944) 2024-02-06 14:51:53 -06:00
ui vim-patch:9.1.0083: Redrawing can be improved when deleting lines with 'number' 2024-02-08 19:20:07 +08:00
vimscript vim-patch:9.1.0047: issues with temp curwin/buf while cmdwin is open 2024-01-28 12:29:26 +00:00
example_spec.lua test: use integers for API Buffer/Window/Tabpage EXT types 2024-01-16 19:11:49 +00:00
helpers.lua refactor: rewrite ruby provider in lua 2024-01-24 19:26:53 +01:00
luacats_grammar_spec.lua fix(doc): improve doc generation of types using lpeg 2024-01-11 16:24:12 +00:00
preload.lua refactor: format test/* 2024-01-03 02:09:29 +01:00