It isn't supposed to be really slow, maybe it has something to do with your code. XPos=MouseX() means your XPos will get updated everytime your program runs trough the main loop, maybe something holds it up.
If you want to check the FPS you'll have to calculate it, there is some FPS code in the code archives I think.
If you want to check the FPS you'll have to calculate it, there is some FPS code in the code archives I think.