Skip to content

Commit e76ff00

Browse files
memtest: structure more
1 parent 22072d3 commit e76ff00

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • internal_filesystem/apps/com.example.memtest/assets

internal_filesystem/apps/com.example.memtest/assets/memtest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ def stress_test_thread():
8484
while keep_running:
8585
buffer_size = 2 ** n
8686
summary += f"{buffer_size:>12} | "
87-
#lv.async_call(lambda l: status.set_text(summary), None)
87+
lv.async_call(lambda l: status.set_text(summary), None)
8888
# Run allocation test
8989
gc.collect()
9090
max_buffers = test_allocation(buffer_size, n)
9191
# Check if we allocated 0 buffers (indicates we can't allocate this size)
9292
if max_buffers == 0:
9393
print(f"Cannot allocate buffers of size {buffer_size} bytes. Stopping test.")
9494
summary += f"{max_buffers:>14}\n"
95-
#lv.async_call(lambda l: status.set_text(summary), None)
95+
lv.async_call(lambda l: status.set_text(summary), None)
9696
break
9797
# Clean up memory before next test
9898
gc.collect()

0 commit comments

Comments
 (0)