Slow FPS whan adding an object to plane origin

as above i have really slow FPS when adding and object to a grid

Here the blend file:

Can anyone help me out with this i would greatly appreciate it.

Thank you so much, the project is open source have you any interest in developing it further? It’s basically a 3D marble labrinth game that will be hopefully controlled with the steam controllers accelerometer.

You can reduce the code to just this:

def main(cont):
    grid_plane = cont.sensors["MouseOver"].hitObject
    if grid_plane:
        tracker = grid_plane.scene.objects["Tracker"]
        tracker.worldPosition = grid_plane.worldPosition
        tracker.worldPosition.z += 1