We've gone down this road before many times (including a few months ago), so let me explain this briefly:e_tank wrote:i've testing stepping frame by frame in a bunch of games/drivers in mame i can say that while i don't know for sure i'm willing to bet you can chalk this up to mame being inconsistent with how it handles when it takes input and displays its output frame _while_ stepping frame by frame with shift+p, between drivers.
Shift+P will show how long it takes for the game to respond to inputs, on original hardware, if the emulation is correct. (For most games, including many "laggy in MAME" titles, it is.)
This is apparently unrelated to your computer system's lag, which makes all games seem worse than they are. System-caused lag can be consistent - i.e. the "best case" scenario when you are just running the emulator (really simplified) which is influenced by things like USB timing as well as your graphics card and monitor. System-caused lag can spike, though, because most PCs are running many tasks in the background and some of these can cause performance drops.
When you add the two sources of lag - original game lag and new lag introduced by the system - games may be considerably more laggy than they originally were. Eliminating a sprite or frame buffer (which serves a purpose on original hardware, but not necessarily when the games are run in MAME) will help you get back to that baseline "original hardware" response, or possibly even beyond it.
But it's simply not correct to say that MAME (which has a highly modular structure) is especially inconsistent in how it handles inputs.