window.display() will sleep (pause) if vertical sync is enabled by your graphics driver (or your code). If your main loop makes no pause, your app will consume as much CPU as it can, which means 50% on a dual core CPU.
PS: that's just a guess since you give almost no information