perf-tests: added img load/save to shared mem