Skip to content

Commit f0241a3

Browse files
author
Michael Mrowetz
committed
#184 add duration time to mark-name
1 parent 440ae8f commit f0241a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/ts/transformers/har.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const getUserTimimngs = (currPage: Page, options: HarTransformerOptions) => {
190190
if (fullName !== name && currPage[`_userTime.endTimer-${name}`]) {
191191
duration = currPage[`_userTime.endTimer-${name}`] - currPage[k];
192192
return {
193-
name: fullName,
193+
name: `${options.showUserTimingEndMarker ? fullName : name} (${currPage[k]} - ${currPage[k] + duration} ms)`,
194194
duration,
195195
startTime: currPage[k],
196196
// x: currPage[k],

0 commit comments

Comments
 (0)