add benchmark code to existing complex metrics