turns out the 'performance regression' was a stupid bug on my part