Skip to content

’workload-webgpu-trace.json‘ format does not include the prefixes CPU::ORT or GPU::ORT. #3

@137591

Description

@137591

The command node main.js --timestamp-format day --tasks workload --workload-url http://localhost:8000/src/minist-demo.html --enable-trace --enable-trace is used to record performance data for my application.’ minist-demo.html‘ is an application workload for ONNX Runtime. However, in the generated workload-webgpu-trace.json format, there are no prefixes CPU::ORT or GPU::ORT, which causes the parseTrace function to fail to process it into a specific timelineJson format. I have already inserted ’window.ort.env.trace = true‘ in my program,Could you please clarify if I made a mistake in which step?
Here is one line from the workload-webgpu-trace.json that I generated.
{"args":{"name":"ThreadPoolForegroundWorker"},"cat":"__metadata","name":"thread_name","ph":"M","pid":28480,"tid":6556,"ts":0},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions