mono/packages/media/cpp/tests/test-report-last.md

2.5 KiB
Raw Blame History

Test report: media-img integration

Summary

Key Value
Result PASS
Assertions passed 4
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 --url-only
Wall clock (total script) 1089.01 ms

Timing

Metric Value
Started (ISO) 2026-04-14T23:08:19.142Z
Finished (ISO) 2026-04-14T23:08:20.231Z
Wall time (perf) 1092.068 ms
Wall time (clock) 1092 ms

Process (Node)

Metric Value
PID 20804
Node v24.13.0
process.uptime() 1.129 s
CPU user (process.cpuUsage Δ) 0.000 ms (0 µs)
CPU system (process.cpuUsage Δ) 0.000 ms (0 µs)
CPU user (resourceUsage) 31.000 ms
CPU system (resourceUsage) 46.000 ms
Max RSS (resourceUsage) 39 MB
RSS 39 MB (40902656 B)
Heap used 6.0 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 53 GB
RAM used 11 GB
Load avg (1/5/15) 0.00 / 0.00 / 0.00
OS uptime 4.32 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
CLI URL resize → 200.jpg 1000 B (1000 B) 251.15 HTTPS source + resize
CLI URL resize → 1600.jpg 1.3 KB (1323 B) 831.46 HTTPS source + resize

Integration: performance by suite

CLI: resize HTTPS URL (picsum.photos)

  • Suite wall time: 1083.91 ms
Step ms Detail
spawnSync resize URL → 200.jpg 251.15 exit 0, network+libvips
spawnSync resize URL → 1600.jpg 831.46 exit 0, network+libvips

Written 2026-04-14T23:08:20.231Z


Artifact: tests/test-report-last.md — overwritten on each test run.