AMD Radeon R7 m340
This GPU has only 1GB memory, so it has to use system memory to access 2GB dataset for RandomX, plus there is no optimized GCN ASM code for it, so XMRig has to run generic OpenCL code on it. So 8 h/s is about right for this GPU. It's better to disable OpenCL in config.json and mine only with CPU.