Skip to content

Commit

Permalink
add timing code
Browse files Browse the repository at this point in the history
  • Loading branch information
philippotto committed May 3, 2023
1 parent 54fd6e0 commit a214ab5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/javascripts/oxalis/model/sagas/isosurface_saga.ts
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ function* loadPrecomputedMeshForSegmentId(
return;
}

console.time("_getLoadChunksTasks");
const loadChunksTasks = _getLoadChunksTasks(
dataset,
layerName,
Expand All @@ -681,6 +682,7 @@ function* loadPrecomputedMeshForSegmentId(
console.error(exception);
Toast.warning(`Some mesh chunks could not be loaded for segment ${id}.`);
}
console.timeEnd("_getLoadChunksTasks");

yield* put(finishedLoadingIsosurfaceAction(layerName, id));
}
Expand Down

0 comments on commit a214ab5

Please sign in to comment.