Skip to content

[onnxruntime_perf_test] Fix Mac peak working set size value#27302

Merged
edgchen1 merged 2 commits intomainfrom
edgchen1/fix_perf_test_peak_working_set_size_on_apple
Feb 11, 2026
Merged

[onnxruntime_perf_test] Fix Mac peak working set size value#27302
edgchen1 merged 2 commits intomainfrom
edgchen1/fix_perf_test_peak_working_set_size_on_apple

Conversation

@edgchen1
Copy link
Contributor

Description

On Mac, ru_maxrss is in bytes and on other platforms, it is in kilobytes. This change sets a different multiplier value when defined(__APPLE__).

Motivation and Context

Fix peak working set size reporting on Mac.

@edgchen1 edgchen1 enabled auto-merge (squash) February 10, 2026 19:56
@edgchen1 edgchen1 merged commit 2cf5bbd into main Feb 11, 2026
90 checks passed
@edgchen1 edgchen1 deleted the edgchen1/fix_perf_test_peak_working_set_size_on_apple branch February 11, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants