You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

104 lines
5.2 KiB

TEST: basic creation / free [03:30:18-624.701] [DEBUG] [2] (ll_queue.c:37) queue_new() queue_new: created queue 0x63defb920ab0, hash_size=0
[03:30:18-624.724] [DEBUG] [2] (ll_queue.c:37) queue_new() queue_new: created queue 0x63defb920d60, hash_size=16
[03:30:18-624.728] [DEBUG] [2] (ll_queue.c:62) queue_free() queue_free: freeing queue 0x63defb920ab0, head=(nil), tail=(nil), count=0
[03:30:18-624.732] [DEBUG] [2] (ll_queue.c:62) queue_free() queue_free: freeing queue 0x63defb920d60, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x63defb9202b0
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: FIFO ordering [03:30:18-624.750] [DEBUG] [2] (ll_queue.c:37) queue_new() queue_new: created queue 0x63defb9204c0, hash_size=0
[03:30:18-624.755] [DEBUG] [2] (ll_queue.c:62) queue_free() queue_free: freeing queue 0x63defb9204c0, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x63defb920360
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: put_first (LIFO priority) [03:30:18-624.769] [DEBUG] [2] (ll_queue.c:37) queue_new() queue_new: created queue 0x63defb921bd0, hash_size=0
[03:30:18-624.773] [DEBUG] [2] (ll_queue.c:62) queue_free() queue_free: freeing queue 0x63defb921bd0, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x63defb920e80
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: callback serial processing [03:30:18-624.787] [DEBUG] [2] (ll_queue.c:37) queue_new() queue_new: created queue 0x63defb920ef0, hash_size=0
[03:30:18-624.791] [DEBUG] [2] (ll_queue.c:62) queue_free() queue_free: freeing queue 0x63defb920ef0, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x63defb921c60
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: wait_threshold + cancel [03:30:18-624.804] [DEBUG] [2] (ll_queue.c:37) queue_new() queue_new: created queue 0x63defb920ff0, hash_size=0
[03:30:18-624.808] [DEBUG] [2] (ll_queue.c:216) check_waiters() check_waiters: condition met, calling callback, count=2<=2, bytes=0<=0 (max_bytes_check=disabled)
[03:30:18-624.815] [DEBUG] [2] (ll_queue.c:62) queue_free() queue_free: freeing queue 0x63defb920ff0, head=0x63defb921310, tail=0x63defb9206f0, count=2
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x63defb920f80
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: size limit + hash find/remove [03:30:18-624.829] [DEBUG] [2] (ll_queue.c:37) queue_new() queue_new: created queue 0x63defb9210f0, hash_size=16
[03:30:18-624.832] [DEBUG] [2] (ll_queue.c:62) queue_free() queue_free: freeing queue 0x63defb9210f0, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x63defb921080
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: memory_pool integration + reuse [03:30:18-624.846] [DEBUG] [2] (ll_queue.c:37) queue_new() queue_new: created queue 0x63defb921160, hash_size=0
[03:30:18-624.854] [DEBUG] [2] (ll_queue.c:62) queue_free() queue_free: freeing queue 0x63defb921160, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x63defb9210f0
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
TEST: stress 10k ops [03:30:18-624.870] [DEBUG] [2] (ll_queue.c:37) queue_new() queue_new: created queue 0x63defb921d70, hash_size=64
[03:30:18-625.236] [DEBUG] [2] (ll_queue.c:62) queue_free() queue_free: freeing queue 0x63defb921d70, head=(nil), tail=(nil), count=0
🔍 BEFORE_DESTROY: UASYNC Resource Report for 0x63defb921160
Timer Statistics: allocated=0, freed=0, active=0
Socket Statistics: allocated=0, freed=0, active=0
Active timers in heap: 0
Socket array capacity: 16, active: 0
Total active sockets: 0
🔚 BEFORE_DESTROY: End of resource report
PASS
=== SUMMARY ===
run=8 passed=8 failed=0
callbacks: queue=5 waiter=2
ops=10000 time=0.59 ms