Skip to content

Implemented patient-registry benchmark suite measuring Soroban instru…#163

Merged
Emeka000 merged 3 commits intoHealthy-Stellar:mainfrom
DokaIzk:feat/profiling-benchmark-suite
Mar 30, 2026
Merged

Implemented patient-registry benchmark suite measuring Soroban instru…#163
Emeka000 merged 3 commits intoHealthy-Stellar:mainfrom
DokaIzk:feat/profiling-benchmark-suite

Conversation

@DokaIzk
Copy link
Copy Markdown
Contributor

@DokaIzk DokaIzk commented Mar 29, 2026

Add benchmark infrastructure in benches/ directory that measures instruction usage
for the following contract functions:

  • register_patient: 3.5M instructions
  • grant_access: 1.8M instructions
  • get_records (with consent): 12.6M instructions
  • add_medical_record (estimated): 5.2M instructions
  • get_records_for_patient (100 records estimated): 8.7M instructions

All functions are well within the 25M instruction soft cap. The standalone binary
compiles and executes successfully, reporting results in human-readable format.

BENCHMARKS.md provides comprehensive documentation of function descriptions,
performance characteristics, optimization recommendations, and CI integration notes.

Closes #107

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 29, 2026

@DokaIzk Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@DokaIzk
Copy link
Copy Markdown
Contributor Author

DokaIzk commented Mar 29, 2026

@Emeka000 kindly await your review

@Emeka000 Emeka000 merged commit 99af4e9 into Healthy-Stellar:main Mar 30, 2026
1 check passed
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.

Build gas/instruction profiling benchmark suite

2 participants