We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55d6087 commit 09b1e75Copy full SHA for 09b1e75
1 file changed
src/profile-logic/merge-compare.js
@@ -93,6 +93,13 @@ export function mergeProfilesForDiffing(
93
94
// Copy over identical values for the ProfileMeta.
95
for (const [key, value] of Object.entries(profiles[0].meta)) {
96
+ // Do not copy over some properties though.
97
+ // profilingStartTime and profilingEndTime, if present, are used to define
98
+ // the root range directly. But because we adjust timestamps below in each
99
+ // threads, these values won't be correct anymore.
100
+ if (['profilingStartTime', 'profilingEndTime'].includes(key)) {
101
+ continue;
102
+ }
103
if (profiles.every((profile) => profile.meta[key] === value)) {
104
resultProfile.meta[key] = value;
105
}
0 commit comments