If you want to measure the 'internal mechanics' without using an engine, you have the option of writing a game loop using ...