it's not your pc's fault. those lag spikes are due to the limitations of the gameboy. in areas with many sprites it slows down as it happened with warioland for example.
so it was a feature?
what engine did you use?
its Gbstudio , for making real Gameboy games