I don't see any code to draw the FPS to the screen in the C++ code.
You are using the text command in the B+ code which can be very hardware dependent and extremely slower than blitting.
A more accurate check would be store the fps data in a variable and display it at the programs end.
You are using the text command in the B+ code which can be very hardware dependent and extremely slower than blitting.
A more accurate check would be store the fps data in a variable and display it at the programs end.