mirror of
				https://github.com/mhinz/vim-galore.git
				synced 2025-11-04 03:45:36 +08:00 
			
		
		
		
	Profiling startup time
This commit is contained in:
		
							
								
								
									
										13
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								README.md
									
									
									
									
									
								
							@@ -12,6 +12,7 @@
 | 
			
		||||
 | 
			
		||||
#### [Debugging](#debugging-1)
 | 
			
		||||
- [General tips](#general-tips)
 | 
			
		||||
- [Profiling startup time](#profiling-startup-time)
 | 
			
		||||
 | 
			
		||||
#### [List of colorschemes](#list-of-colorschemes-1)
 | 
			
		||||
 | 
			
		||||
@@ -155,6 +156,18 @@ the active upper half. Move the `:finish` to the middle of _that_ half.
 | 
			
		||||
Otherwise the issue is in the inactive lower half. Move the `:finish` to the
 | 
			
		||||
middle of _that_ half. And so on.
 | 
			
		||||
 | 
			
		||||
#### Profiling startup time
 | 
			
		||||
 | 
			
		||||
Vim startup feels slow? Time to crunch some numbers:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
vim --startuptime /tmp/startup.log +q && vim /tmp/startup.log
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
The first column is the most important as it shows the elapsed absolute time. If
 | 
			
		||||
there is a big jump in time between two lines, the second line is either a very
 | 
			
		||||
big file or a file with faulty VimL code that is worth investigating.
 | 
			
		||||
 | 
			
		||||
## List of colorschemes
 | 
			
		||||
 | 
			
		||||
Here's a list of commonly used colorschemes:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user