mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			124 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			124 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
benchmark:
 | 
						|
  vm_thread_alive_check: |
 | 
						|
    t = Thread.new{}
 | 
						|
    while t.alive?
 | 
						|
      Thread.pass
 | 
						|
    end
 | 
						|
loop_count: 50_000
 | 
						|
 |