Get performance timing of given window, allow custom submission handler, and basic unit test