Switch emulation performance tips