V8 can some how figure out the structure of the cases are the same and apply some optimization. Therefore simply remove `delegate.markEnd` in the following line will actually make it slower.