mirror of
				https://github.com/go-delve/delve.git
				synced 2025-11-01 03:42:59 +08:00 
			
		
		
		
	 aarzilli
		
	
	503bf529ca
	
	
	proc: improve performance of FindGoroutine in normal circumstances
			aarzilli
		
	
	503bf529ca
	
	
	proc: improve performance of FindGoroutine in normal circumstances
		
			
			FindGoroutine can be slow when there are many goroutines running. This can not be fixed in the general case, however: 1. Instead of getting the entire list of goroutines at once just get a few at a time and return as soon as we find the one we want. 2. Since FindGoroutine is mostly called by ConvertEvalScope and users are more likely to request informations about a goroutine running on a thread, look within the threads first.
The Github issue tracker is for bugs only. Please use the developer mailing list for any feature proposals and discussions.
About Delve
Delve is a debugger for the Go programming language. The goal of the project is to provide a simple, full featured debugging tool for Go. Delve should be easy to invoke and easy to use. Chances are if you're using a debugger, things aren't going your way. With that in mind, Delve should stay out of your way as much as possible.
					Languages
				
				
								
								
									Go
								
								97.1%
							
						
							
								
								
									C
								
								2.3%
							
						
							
								
								
									Shell
								
								0.2%
							
						
							
								
								
									PowerShell
								
								0.1%
							
						
							
								
								
									Starlark
								
								0.1%
							
						
							
								
								
									Other
								
								0.1%
							
						
					