Skip to content

Commit 275de3c

Browse files
committed
perf(pm): remove obsolete resolver preload
1 parent dcebc3c commit 275de3c

3 files changed

Lines changed: 0 additions & 366 deletions

File tree

crates/ruborist/src/resolver/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ pub mod edges;
77
pub mod git;
88
#[cfg(feature = "http-tarball")]
99
pub mod http;
10-
pub mod preload;
1110
pub mod registry;
1211
pub mod runtime;
1312
pub mod semver;

crates/ruborist/src/resolver/preload.rs

Lines changed: 0 additions & 345 deletions
This file was deleted.

crates/ruborist/src/traits/progress.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,11 @@ pub use crate::model::tarball_info::PackageTarballInfo;
1010
/// Events emitted during dependency resolution.
1111
#[derive(Debug, Clone, Copy)]
1212
pub enum BuildEvent<'a> {
13-
/// Starting preload phase with N initial dependencies.
14-
PreloadStart { count: usize },
15-
16-
/// More dependencies were discovered and queued for preloading.
17-
PreloadQueued { count: usize },
18-
19-
/// A fetch task was started for a package.
20-
PreloadFetching { name: &'a str },
21-
22-
/// A package was preloaded successfully.
23-
PreloadProgress {
24-
name: &'a str,
25-
version: &'a str,
26-
/// Current count of preloaded packages
27-
current: usize,
28-
},
29-
3013
/// A package was fully resolved with download info.
3114
/// This event enables pipeline downloading - tarball can be downloaded
3215
/// immediately while other manifests are still being fetched.
3316
PackageResolved(PackageTarballInfo<'a>),
3417

35-
/// Preload phase completed with success/failed counts.
36-
PreloadComplete { success: usize, failed: usize },
37-
3818
/// Starting a new BFS level with N nodes to process.
3919
LevelStart { node_count: usize },
4020

0 commit comments

Comments
 (0)