Skip to content

ci: add perf and density benchmarks for Linux and Windows - #11

Merged
danbugs merged 2 commits into
mainfrom
ci-benchmarks-upstream
May 12, 2026
Merged

ci: add perf and density benchmarks for Linux and Windows#11
danbugs merged 2 commits into
mainfrom
ci-benchmarks-upstream

Conversation

@danbugs

@danbugs danbugs commented May 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a new benchmarks.yml workflow that measures pyhl performance and VM density on both Linux and Windows
  • Builds the python-agent-driver image once on Linux and shares it via artifact upload (same pattern as test-examples.yml)
  • Reports all results as ::notice:: annotations in the GitHub Actions summary

What's measured

Performance (both platforms):

  • Hello world — print(42), 15 runs
  • Pandas — DataFrame(np.random.randn(1000,4)).describe(), 10 runs
  • Reports median, avg, min, max for each

Density (both platforms):

  • 5 concurrent VMs running sum(range(500M)) (~15s compute per VM)
  • Linux: Private_Dirty from /proc/$pid/smaps_rollup
  • Windows: PrivateMemorySize64 from the process object

Snapshot size (both platforms):

  • Apparent size vs actual disk usage
  • Linux: stat blocks; Windows: GetCompressedFileSizeW

danbugs added 2 commits May 12, 2026 04:22
Signed-off-by: danbugs <danilochiarlone@gmail.com>
…ng enough to measure

Signed-off-by: danbugs <danilochiarlone@gmail.com>
@danbugs
danbugs merged commit f788363 into main May 12, 2026
70 checks passed
@danbugs
danbugs deleted the ci-benchmarks-upstream branch May 12, 2026 05:24
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