Skip to content

Commit

Permalink
chore: remove console profile
Browse files Browse the repository at this point in the history
  • Loading branch information
ahabhgk committed Jan 13, 2025
1 parent 9e34ba7 commit 5b018e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/rspack/src/Compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -703,12 +703,10 @@ class Compiler {
return callback?.(error);
}
if (!this.#initial) {
console.profile(`rspack-rebuild-${this.name}`);
instance!.rebuild(
Array.from(this.modifiedFiles || []),
Array.from(this.removedFiles || []),
error => {
console.profileEnd(`rspack-rebuild-${this.name}`);
if (error) {
return callback?.(error);
}
Expand Down

0 comments on commit 5b018e9

Please sign in to comment.