calculates the framework (hovers around 60fps on current chrome settings)