mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Improve benchmarks and tests for threads.
This commit is contained in:
		
							parent
							
								
									a6a4e86029
								
							
						
					
					
						commit
						3fd83cb6fc
					
				
					 7 changed files with 20 additions and 11 deletions
				
			
		
							
								
								
									
										4
									
								
								benchmark/vm_thread_sleep.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								benchmark/vm_thread_sleep.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,4 @@
 | 
			
		|||
benchmark:
 | 
			
		||||
  vm_thread_sleep: |
 | 
			
		||||
    Thread.new { sleep }
 | 
			
		||||
loop_count: 10_000
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue