It notched convincing beats on analyst estimates with its second-quarter performance.