Skip to content

Commit

Permalink
timing
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed Mar 4, 2025
1 parent 64246ed commit 91cf6e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/qdl.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,9 @@ export class QdlManager {
if (this.error !== Error.NONE) return
await this.downloadImages()
if (this.error !== Error.NONE) return
const start = performance.now();
await this.flashDevice()
console.debug(`Flashing took ${((performance.now() - start) / 1000).toFixed(2)}s`)
if (this.error !== Error.NONE) return
await this.eraseDevice()
}
Expand Down

0 comments on commit 91cf6e5

Please sign in to comment.