Improve Message sorting performance (#4624)

This commit is contained in:
Micha Reiser 2023-05-24 16:34:48 +02:00 committed by GitHub
parent 17d938f078
commit 85f094f592
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 10 deletions

View file

@ -143,7 +143,8 @@ pub(crate) fn run(
acc
});
diagnostics.messages.sort_unstable();
diagnostics.messages.sort();
let duration = start.elapsed();
debug!("Checked {:?} files in: {:?}", paths.len(), duration);