mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
		
							parent
							
								
									793bb7fb6f
								
							
						
					
					
						commit
						88ddcde8d8
					
				| 
						 | 
					@ -32,9 +32,7 @@ def timer(func, label, *args) -> None:
 | 
				
			||||||
            break
 | 
					            break
 | 
				
			||||||
    endtime = time.time()
 | 
					    endtime = time.time()
 | 
				
			||||||
    print(
 | 
					    print(
 | 
				
			||||||
        "{}: completed {} iterations in {:.4f}s, {:.6f}s per iteration".format(
 | 
					        f"{label}: completed {x + 1} iterations in {endtime - starttime:.4f}s, {(endtime - starttime) / (x + 1.0):.6f}s per iteration"
 | 
				
			||||||
            label, x + 1, endtime - starttime, (endtime - starttime) / (x + 1.0)
 | 
					 | 
				
			||||||
        )
 | 
					 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user