Skip to content

[DEMO] Sharded Import Profiler Test - #17936

Draft
hebaalazzeh wants to merge 4 commits into
mainfrom
test/import-profiler-sharding-demo
Draft

[DEMO] Sharded Import Profiler Test#17936
hebaalazzeh wants to merge 4 commits into
mainfrom
test/import-profiler-sharding-demo

Conversation

@hebaalazzeh

@hebaalazzeh hebaalazzeh commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Here is an example draft PR demonstrating the sharded import-profiler workflow running across modified packages: #17936

@hebaalazzeh hebaalazzeh changed the title test(ci): import profiler sharding demo [DEMO] Sharded Import Profiler Test Jul 29, 2026
@hebaalazzeh hebaalazzeh self-assigned this Jul 29, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds # demo comments to several package initialization files, cleans up whitespace, and quotes variables in the test script ci/run_single_test.sh. Additionally, it significantly increases the profiler's --fail-threshold from 5000 to 120000. Feedback was provided raising concerns about this threshold increase, as it could prevent the profiler from detecting actual performance regressions, and suggesting that the threshold be parameterized or lowered.

Comment thread ci/run_single_test.sh
Comment on lines +140 to +142
python "${PROFILER_SCRIPT}" --package "${PACKAGE_NAME}" --iterations 11 --fail-threshold 120000 --diff-baseline "${BASELINE_CSV}" --diff-threshold 100
else
python ${PROFILER_SCRIPT} --package ${PACKAGE_NAME} --iterations 11 --fail-threshold 5000
python "${PROFILER_SCRIPT}" --package "${PACKAGE_NAME}" --iterations 11 --fail-threshold 120000

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The --fail-threshold has been significantly increased from 5000 to 120000 (a 24x increase). While this might be necessary for a demo or a specific slow test environment, such a high threshold could prevent the profiler from detecting actual performance regressions in production. Please verify if this threshold can be lowered or if it should be parameterized.

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.

1 participant