| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.
|
| |
|
|
|
|
|
|
|
| |
Problem: No command line completion for :profile and :profdel.
Solution: Implement completion. (Yegappan Lakshmanan, closes vim/vim#9955)
https://github.com/vim/vim/commit/1fdf84e033f8c4eead3b4ccebb1969cfbc7d10db
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
|
| |
|
| |
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Inconsistently using GetVimCommand() and v:progpath. (Daniel
Hahler)
Solution: Use GetVimCommand(). (closes vim/vim#4806)
https://github.com/vim/vim/commit/93344c2d707d9953f351c944e6a237c9916f69a3
Cherry-pick a change to test_profile.vim from patch 8.1.1544.
Cherry-pick a change to test_vimscript.vim from patch 8.1.1826.
Some of the args are no-op in Nvim, and `-i NONE` and `--headless` are
already added by `GetVimCommand()`. I'll try to match the order of args
in upstream, substituting `--not-a-term` with `--headless`.
|
| |
|
|
|
|
| |
Problem: Profile test fails when two functions take same time.
Solution: Add a short sleep in once function. (closes vim/vim#5797)
https://github.com/vim/vim/commit/a21df1db3ca619afdcb47931af042508a6bbc8e5
|
| |
|
|
|
|
|
| |
Problem: :let-heredoc does not trim enough.
Solution: Trim indent from the contents based on the indent of the first
line. Use let-heredoc in more tests.
https://github.com/vim/vim/commit/e7eb92708ec2092a2fc11e78703b5dcf83844412
|
| |
|
|
|
|
| |
Problem: Code and data in tests can be hard to read.
Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes vim/vim#4400)
https://github.com/vim/vim/commit/c79745a82faeb5a6058e915ca49a4c69fa60ea01
|
| |
|
|
|
|
| |
Problem: Not easy to jump to function line from profile.
Solution: Use "file:99" instead of "file line 99" so that "gf" works.
(Daniel Hahler, closes vim/vim#4951)
https://github.com/vim/vim/commit/181d4f58cc421f2e6d3b16333d4cb70d35ad1342
|
| |
|
|
|
|
| |
Problem: Memory error when profiling a function without a script ID.
Solution: Check for missing script ID. (closes vim/vim#4877)
https://github.com/vim/vim/commit/163588005da3a240e49416093d0d0251951d60a1
|
| |
|
|
|
|
| |
Problem: Function profile doesn't specify where it was defined.
Solution: Show the script name and line number.
https://github.com/vim/vim/commit/4c7b08f6409349cf5324a26f7523c438590550ef
|
| |
|
|
|
|
|
| |
Problem: Profiling does not show a count for condition lines. (Daniel
Hahler)
Solution: Count lines when not skipping. (Ozaki Kiichi, closes #2499)
https://github.com/vim/vim/commit/7feb35e7782907b44659a2748ff5d7489deeed74
|
| |
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
|
| |
|
|
|
|
| |
Problem: :profdel is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3123)
https://github.com/vim/vim/commit/1fbfe7c48cb711f5a6deae535b3ec3bfe7952ce9
|
| |
|
|
|
|
|
|
| |
Problem: Profile log may be truncated halfway a character.
Solution: Find the start of the character. (Ozaki Kiichi, closes vim/vim#2385)
https://github.com/vim/vim/commit/ac112f01a6930c9d15cf0360b657373699916bfd
nvim does not support "--clean" yet but "-es" should suffice for the test.
|
| |
|
|
|
|
|
|
| |
Problem: Profiling skips the first and last script line.
Solution: Check for BOM after setting script ID. (Lemonboy, closes vim/vim#2103,
closes vim/vim#2112) Add a test. List the trailing script lines.
https://github.com/vim/vim/commit/67435d9983965c5c77fc74f0559779ce4554dacb
|
| |
|
|
|
|
|
|
| |
Problem: Test_profile is a little bit flaky.
Solution: Accept a match when self and total time are the same. (James
McCoy, closes vim/vim#1972)
https://github.com/vim/vim/commit/d21b16f3c0c676bfe3a37aef1ac3118e1ecded60
|
| | |
|
| |
|
|
|
|
|
|
| |
Problem: The test for :profile is slow and does not work on MS-Windows.
Solution: Use the "-es" argument. (Dominique Pelle) Swap single and double
quotes for system()
https://github.com/vim/vim/commit/c011a3d083001bcd9853b4447422f1819f3cee2f
|
| |
|
|
|
|
|
| |
Problem: Profile tests fails if total and self time are equal.
Solution: Make one time optional.
https://github.com/vim/vim/commit/e32bbded641a5da0263ecf82f9ccc95a8e0a089e
|
|
|
Problem: There are no tests for the :profile command.
Solution: Add tests. (Dominique Pelle, closes vim/vim#1383)
https://github.com/vim/vim/commit/296b1f28ca9cedeb55872f306808b2214b519ce7
|