bielphc
I'm having heavy trouble with cpu performance in SPlat when i try to work with MIDI.
But i have an i3 2310, 2ghz, 4GB RAM, HD 500GB 5400RPM.
That is the problem. SPlat needs a good PC to run smoothly.
But you must try to increase or decrease buffer size to test.
For midi editing, set the buffer to 512 or lower. For audio, 512 or higher.
What do you mean, "when you try to work with MIDI"? Are you talking about VST instruments, or MIDI that's sent to an external synth?
In either case, MIDI shouldn't be stressing your system, even with an i3 and a 5400 RPM drive. If you have a dozen Kontakt instruments loaded, then yes, you'll have some problems.

But that's not really "MIDI"; that's a problem with the processor and RAM. And even with that, there are things you can do to work around the issues.
Changing the ASIO settings
will help with the audio dropouts (and pops and clicks), but not with MIDI. If you're having to increase the buffer settings to keep the audio from dropping out, you might want to either get a faster hard drive or add RAM (or both). A 1-terabyte, 7200 RPM drive is less than $50 (a 2-TB drive is only $68), and the software to clone your system is free. If you decide to get more RAM, make sure the timing and the speed match the RAM you already have, if you want to get the most out of it.
You probably already know about "freezing" any synths you're not actively editing in a project, and if you have the latest version of SPlat, check to see which MIDI driver you're using. In the Preferences, under "MIDI/Playback and Recording", you should see a relatively new entry at the top of the window: "Driver Mode: MME". If yours has nothing there, or says something else, you might want to look into that.
Another option that could free up some RAM for you is to follow BlackViper's tips for optimizing your Windows installation. And of course, there are many other sites that offer tips for optimizing DAW systems. For the most part, they all recommend the same things, but it's good to check those tweaks every so often, to see if a Windows update has "reset" a tweak you'd made years ago.
I don't mean to suggest you actually need any of the things I've suggested here, @bielphc, but if you do have any questions, please just let us know.
Steve