microsoft / microsoft/onnxruntime

[Build] [Releases] Publish `onnxruntime_perf_test` binaries in GitHub Release zipballs

Open
#17,332 2 comments 4 reactions 0 assignees View on GitHub
build feature request
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

### Describe the issue

OP: https://github.com/microsoft/onnxruntime/issues/4934#issuecomment-1692255830

It'd be very useful to have it as a simple, accessible perf checking tool (ideally, reporting same metrics as `trtexec` does for TRT, more in https://github.com/microsoft/onnxruntime/issues/17313)

Currently to get a `onnxruntime_perf_test` binary, we need to build ORT from scratch and this can take up to several hours. This is a very stumbling step when we just want to get a simple perf testing tool.

Currently GitHub Releases already distribute `.so` libraries, it would be great to add `onnxruntime_perf_test` binary to these zipballs

### Urgency

_No response_

### Target platform

Linux / Cuda

### Build script

N/A

### Error / output

N/A

### Visual Studio Version

_No response_

### GCC / Compiler Version

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the GitHub Release packaging that currently includes .so libraries and the build configuration for onnxruntime_perf_test. Confirm the Linux/CUDA release zipballs contain the executable and that the published binary can be used as a performance-checking tool without rebuilding ONNX Runtime.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, github
Domain
build-system, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.