1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Chore: Resolves #12813: Move performance logger file labels to the corresponding log statements (#12820)

This commit is contained in:
Henry Heino
2025-08-01 03:43:05 -07:00
committed by GitHub
parent c5b6f0bca1
commit 825ce51a3c
12 changed files with 89 additions and 84 deletions

View File

@@ -10,7 +10,7 @@ import EncryptionService from './e2ee/EncryptionService';
import PerformanceLogger from '../PerformanceLogger';
const EventEmitter = require('events');
const perfLogger = PerformanceLogger.create('DecryptionWorker');
const perfLogger = PerformanceLogger.create();
interface DecryptionResult {
skippedItemCount?: number;
@@ -327,7 +327,7 @@ export default class DecryptionWorker {
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
public async start(options: any = {}) {
this.startCalls_.push(true);
const startTask = perfLogger.taskStart('start');
const startTask = perfLogger.taskStart('DecryptionWorker/start');
let output = null;
try {
output = await this.start_(options);