mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-15 22:42:14 +03:00
Commented some print statements that were used for debugging and forgot to remove previously.
This commit is contained in:
parent
25d18fb7fe
commit
f80a2f69ca
@ -568,11 +568,11 @@ def optimize_update_preview_frequency(current_chunk_speed, previous_chunk_speed,
|
||||
"""Find the optimal update_preview_frequency value maximizing
|
||||
performance while minimizing the time between updates."""
|
||||
if current_chunk_speed >= previous_chunk_speed:
|
||||
print(f"{current_chunk_speed} >= {previous_chunk_speed}")
|
||||
#print(f"{current_chunk_speed} >= {previous_chunk_speed}")
|
||||
update_preview_frequency +=1
|
||||
previous_chunk_speed = current_chunk_speed
|
||||
else:
|
||||
print(f"{current_chunk_speed} <= {previous_chunk_speed}")
|
||||
#print(f"{current_chunk_speed} <= {previous_chunk_speed}")
|
||||
update_preview_frequency -=1
|
||||
previous_chunk_speed = current_chunk_speed
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user