Add diagnostics integrated benchmark

This commit is contained in:
Lukas Wirth 2024-03-07 09:33:48 +01:00
parent a3b6e891ea
commit 09d33f3e1e
4 changed files with 94 additions and 46 deletions

View file

@ -43,7 +43,7 @@ pub trait Upcast<T: ?Sized> {
}
pub const DEFAULT_PARSE_LRU_CAP: usize = 128;
pub const DEFAULT_BORROWCK_LRU_CAP: usize = 256;
pub const DEFAULT_BORROWCK_LRU_CAP: usize = 1024;
pub trait FileLoader {
/// Text of the file.