Skip to content

Commit 5b58f8f

Browse files
committed
Update measurement keys
1 parent 2354c97 commit 5b58f8f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/app/src/sandbox/eval/transpiled-module.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -567,9 +567,6 @@ export default class TranspiledModule {
567567
* @param {*} manager
568568
*/
569569
async doTranspile(manager: Manager) {
570-
// eslint-disable-next-line
571-
manager.transpileJobs[this.getId()] = true;
572-
573570
this.hasMissingDependencies = false;
574571

575572
// Remove this module from the initiators of old deps, so we can populate a
@@ -623,7 +620,9 @@ export default class TranspiledModule {
623620
.concat([this.module.path])
624621
.join('!');
625622

626-
const measureKey = `transpile-${transpilerConfig.transpiler.name}-${this.module.path}`;
623+
const measureKey = `transpile-${
624+
transpilerConfig.transpiler.name
625+
}-${this.getId()}`;
627626
try {
628627
measure(measureKey);
629628
const {

0 commit comments

Comments
 (0)