(sorry if this is in the wrong section) Using v65.5 I get 61 fps on a blank screen with Newtonian gravity disabled and 41 with it enabled. Using the latest source from GitHub, I still get 61 fps without Newtonian gravity, but when I enable it, my fps drops to 10.
Hmm, I hadn't noticed that. Possibly caused by changing the gravity mask array (which disables Newtonian gravity in areas enclosed by gravity wall) to be full resolution.
Are you using FFTW? What happens if you comment out the calls to membwand in src/gravity.c (lines 114 and 115)?