Skip to content

Commit 8535106

Browse files
committed
remove perf logging
1 parent 499220c commit 8535106

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/cubejs-schema-compiler/src/compiler/DataSchemaCompiler.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -592,8 +592,6 @@ export class DataSchemaCompiler {
592592
errorsReport: ErrorReporter,
593593
{ cubeNames, cubeSymbols, contextSymbols, transpilerNames, compilerId, stage }: TranspileOptions
594594
): Promise<(FileContent | undefined)[]> {
595-
const compileJsFileTimer = perfTracker.start('transpileJsFilesBulk (native)');
596-
597595
// for bulk processing this data may be optimized even more by passing transpilerNames, compilerId only once for a bulk
598596
// but this requires more complex logic to be implemented in the native side.
599597
// And comparing to the file content sizes, a few bytes of JSON data is not a big deal here
@@ -613,8 +611,6 @@ export class DataSchemaCompiler {
613611
}));
614612
const res = await transpileJs(reqDataArr);
615613

616-
compileJsFileTimer.end();
617-
618614
return files.map((file, index) => {
619615
errorsReport.inFile(file);
620616
if (!res[index]) { // This should not happen in theory but just to be safe

0 commit comments

Comments
 (0)