microsoft / microsoft/onnxruntime

[Documentation] Add C++ in-code profiling example code to the "Profiling Tools" documentation page

Open Beginner friendly
#28,512 4 comments 1 reaction 0 assignees View on GitHub
documentation
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

### Describe the documentation issue

The "In-code performance profiling" section of the "Profiling Tools" page shows only code in Python. Adding C++ example code can help C++ users utilize the profiling tools in code.

### Page / URL

https://onnxruntime.ai/docs/performance/tune-performance/profiling-tools.html#in-code-performance-profiling

Contributor guide

Open the contributing guide

Research direction

Open the Profiling Tools page at the “In-code performance profiling” section and compare the existing Python examples with the available C++ profiling usage. Add a corresponding C++ example, then verify that the documentation clearly shows C++ users how to profile in code.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.