File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -13,22 +13,6 @@ export const createTimeTracker = (options: {
1313} ) : TimeTracker => {
1414 return {
1515 run < T > ( name : string , fn : ( ) => T ) : T {
16- // options.outputChannel.trace(`[time-tracker]: Starting "${name}"...`);
17- // const start = Date.now();
18- // try {
19- // const result = fn();
20- // const end = Date.now();
21- // options.outputChannel.trace(
22- // `[time-tracker]: "${name}" completed in ${timeDiff(start, end)}`,
23- // );
24- // return result;
25- // } catch (error) {
26- // const end = Date.now();
27- // options.outputChannel.error(
28- // `[time-tracker]: "${name}" failed in ${timeDiff(start, end)}`,
29- // );
30- // throw error;
31- // }
3216 options . outputChannel . trace ( `[${ name } ]: Starting...` ) ;
3317 const start = Date . now ( ) ;
3418 try {
You can’t perform that action at this time.
0 commit comments