4 ms·
Wow, I managed to run 3D Pinball Space Cadet at a fluid 60fps with audio disabled. This is a pretty mind-boggling thing to have exist.
by arilotter 5y ago
Wow, I managed to run 3D Pinball Space Cadet at a fluid 60fps with audio disabled. This is a pretty mind-boggling thing to have exist.
- singularity2001 5y agoEven runs on iPad FF ! wow indeed
- speedgoose 5y agoAn iPad is pretty fast. The iPad Pro M1 is faster than quite a lot of brand new laptops.
- ravenstine 5y agoRuns horribly on macOS Firefox but, does indeed run at 60fps in Chrome with audio turned off. I wonder why the audio is such a problem? I'd think that audio wouldn't be that expensive even in an emulated environment.
- grawprog 5y agoI have no idea of the details as to why, but in all the years I've used emulators, turning off the audio has always increased the speed of emulation in emulators that are struggling. I realize Wine is not an emulator...but...same shit.
- ugjka 5y agoProbably something to do with html5 audio api
- hutzlibu 5y agoProcessing audio is expensive, when done by the CPU.
- kev_emu 5y agoThe WASM build uses the 'normal' CPU core. In this core the CPU emulator is a collection of indirect calls that performs poorly in WASM due the runtime checks to verify the number of parameters and their types. For other builds there is a dynamic code generator. A similar approach would work wonders. Assistance gratefully accepted! - see source folders under emulation/cpu for armv7, armv8 & x32 for the 30 odd method implementations. To get native like performance a binary translator like that used for the x64 core is required