detach DOM during benchmark execution