Skip to content

Commit 511a069

Browse files
committed
chore: change trace file
1 parent 503cba8 commit 511a069

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/node_binding/binding.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2572,7 +2572,7 @@ export interface RawTrustedTypes {
25722572
* Author Donny/강동윤
25732573
* Copyright (c)
25742574
*/
2575-
export declare function registerGlobalTrace(filter: string, layer: "logger" | "perfetto" , output: string): void
2575+
export declare function registerGlobalTrace(filter: string, layer: "chrome" | "logger" | "perfetto" , output: string): void
25762576

25772577
export declare enum RegisterJsTapKind {
25782578
CompilerThisCompilation = 0,

packages/rspack-cli/src/utils/profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export async function applyProfile(
4444
);
4545
const defaultRustTracePerfettOutput = path.join(
4646
defaultOutputDir,
47-
"trace.pftrace"
47+
"rspack.pftrace"
4848
);
4949
const defaultRustTraceLoggerOutput = "stdout";
5050

packages/rspack-cli/tests/build/profile/profile.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import fs from "fs";
22
import { resolve } from "path";
33
import { run } from "../../utils/test-utils";
44

5-
const defaultTracePath = "./trace.json";
5+
const defaultTracePath = "./rspack.pftrace";
66
const customTracePath = "./custom/trace.json";
77

88
function findDefaultOutputDirname() {

0 commit comments

Comments
 (0)