Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch list implementation to more effective one #7898

Draft
wants to merge 22 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
365b329
scripts: Add list log parser
ZyX-I Jan 23, 2018
6db77f7
scripts: Dump log as YAML
ZyX-I Jan 26, 2018
c9f8bdf
scripts: Actually do analyze statistics
ZyX-I Jan 27, 2018
7e8a30b
eval/typval: Switch list implementation to kvec_withinit_t(typval_T, 4)
ZyX-I Feb 1, 2018
3ff3f37
hashtab: Allow using HASHTAB_ITER for cycles which are being modified
ZyX-I Feb 5, 2018
1354aab
eval/typval: Refactor tv_clear() so that it does not use typval_encode
ZyX-I Feb 5, 2018
48f7b3f
eval: When clearing vimvars do clear dictionaries as well
ZyX-I Feb 10, 2018
42b7c56
eval/typval_encode: Use kv_drop in place of (void)kv_pop
ZyX-I Feb 11, 2018
78f2660
eval: Do not access list item after removing it
ZyX-I Feb 13, 2018
1240b81
eval/typval: Do not preallocate four list elements
ZyX-I Feb 15, 2018
5b04f0e
eval/typval: Also save capacity to log
ZyX-I Feb 15, 2018
f45e907
kvec: Do not double vec size when it is needed to insert one element
ZyX-I Feb 15, 2018
1fcb652
Revert "eval/typval: Do not preallocate four list elements"
ZyX-I Feb 15, 2018
c960519
benchmarks: Add some list benchmarks
ZyX-I Feb 15, 2018
6227ee9
eval: Refactor map/filter implementation
ZyX-I Feb 18, 2018
6affa6d
functests: Make output of print_snapshot wrap highlight attributes
ZyX-I Feb 18, 2018
743d0a2
functests: Dump unknown colors as hex strings
ZyX-I Feb 18, 2018
da6735a
build: Use more specific feature macros
ZyX-I Mar 4, 2018
452291c
Merge branch 'master' into list-reimplement
ZyX-I May 1, 2018
4d3c6da
oldtests: Make sure that targets order is correct
ZyX-I May 1, 2018
8752031
oldtests: Allow specifying timeout (in minutes) via env var
ZyX-I May 1, 2018
f449ec8
oldtests: Allow running old tests in parallel
ZyX-I May 1, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
oldtests: Make sure that targets order is correct
With this `make -jN` is somewhat working (if you are lucky, tests still do share 
common filenames). Better though is that there are no implicit dependencies now.
  • Loading branch information
ZyX-I committed May 1, 2018
commit 4d3c6dac9fdb977b7c9105e68fa07b0ad499a46a
12 changes: 8 additions & 4 deletions src/nvim/testdir/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,11 @@ ifdef TESTNUM
SCRIPTS := test$(TESTNUM).out
endif

nongui: nolog $(SCRIPTS) newtests report
nongui: $(SCRIPTS) newtests
$(MAKE) report

gui: nolog $(SCRIPTS) $(SCRIPTS_GUI) newtests report
gui: $(SCRIPTS) $(SCRIPTS_GUI) newtests
$(MAKE) report

.gdbinit:
@echo "[OLDTEST-PREP] Setting up .gdbinit"
Expand All @@ -166,9 +168,11 @@ report:
echo ALL DONE; \
fi"

test1.out: $(NVIM_PRG)
test1.out: nolog $(NVIM_PRG)

$(SCRIPTS) $(SCRIPTS_GUI): $(NVIM_PRG) test1.out
$(SCRIPTS) $(SCRIPTS_GUI): test1.out

$(NEW_TESTS): test1.out

RM_ON_RUN := test.out X* viminfo
RM_ON_START := test.ok
Expand Down