Test report: media-img integration
Summary
| Key |
Value |
| Result |
PASS |
| Assertions passed |
7 |
| Assertions failed |
0 |
| CWD |
C:\Users\zx\Desktop\polymech\polymech-mono\packages\media\cpp |
| Test binary |
C:\Users\zx\Desktop\polymech\polymech-mono\packages\media\cpp\dist\pm-image.exe |
| Assets dir |
C:\Users\zx\Desktop\polymech\polymech-mono\packages\media\cpp\tests\assets |
| CLI args |
--ipc-only |
| Wall clock (total script) |
548.09 ms |
Timing
| Metric |
Value |
| Started (ISO) |
2026-04-15T18:09:45.084Z |
| Finished (ISO) |
2026-04-15T18:09:45.633Z |
| Wall time (perf) |
550.571 ms |
| Wall time (clock) |
551 ms |
Process (Node)
| Metric |
Value |
| PID |
11792 |
| Node |
v24.13.0 |
| process.uptime() |
0.584 s |
| CPU user (process.cpuUsage Δ) |
32.000 ms (32000 µs) |
| CPU system (process.cpuUsage Δ) |
47.000 ms (47000 µs) |
| CPU user (resourceUsage) |
78.000 ms |
| CPU system (resourceUsage) |
62.000 ms |
| Max RSS (resourceUsage) |
41 MB |
| RSS |
41 MB (42745856 B) |
| Heap used |
6.8 MB |
| Heap total |
11 MB |
| External |
2.2 MB |
| Array buffers |
16 KB |
Host
| Metric |
Value |
| Hostname |
DESKTOP-QH14L5F |
| OS |
win32 10.0.18363 |
| Arch |
x64 |
| CPUs |
16 |
| CPU model |
AMD Ryzen 7 3700X 8-Core Processor |
| RAM total |
64 GB |
| RAM free |
41 GB |
| RAM used |
23 GB |
| Load avg (1/5/15) |
0.00 / 0.00 / 0.00 |
| OS uptime |
23.34 h |
Images & transfers
| Label |
Input |
Output |
Time (ms) |
Detail |
| fixture square-64.png |
551 B (551 B) |
— |
— |
64×64 px · on-disk fixture |
| fixture checker-128x128.png |
455 B (455 B) |
— |
— |
128×128 px · on-disk fixture |
| fixture glob-in/root.png |
384 B (384 B) |
— |
— |
48×48 px · on-disk fixture |
| fixture glob-in/sub/leaf.png |
88 B (88 B) |
— |
— |
24×24 px · on-disk fixture |
| IPC TCP → disk (ipc-out.png) |
551 B (551 B) |
539 B (539 B) |
3.3 |
32×32 px · line-JSON resize |
Integration: performance by suite
IPC TCP (media-img ipc --host --port)
- Suite wall time: 110.88 ms
| Step |
ms |
Detail |
| wait until IPC TCP accepts |
104.47 |
port 56514 |
| TCP connect (line 1) |
0.31 |
— |
| IPC JSON line (ok resize) |
3.3 |
ok=true |
| TCP connect (line 2) |
0.38 |
— |
| IPC JSON line (missing input) |
0.44 |
ok=false |
IPC TCP: dst templates
- Suite wall time: 105.49 ms
| Step |
ms |
Detail |
| wait until IPC TCP accepts |
100.92 |
port 56519 |
| TCP connect |
0.25 |
— |
| IPC JSON line (${SRC_NAME}_ipc.webp) |
3.07 |
ok=true |
Integration notes
- IPC Unix suite skipped on this platform (Windows).
Written 2026-04-15T18:09:45.633Z
Artifact: tests/test-report-last.md — overwritten on each test run.