-
-
Notifications
You must be signed in to change notification settings - Fork 41
⚡ test: Add memory benchmark #1758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
|
Warning Rate limit exceeded@roninjin10 has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 14 minutes and 12 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (10)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
73549e0
to
12f8c3b
Compare
7358eca
to
7f8c5af
Compare
eec0c11
to
65b71fe
Compare
Added src/evm/evm.zig to export all EVM modules using the implicit module struct pattern. Added src/evm/EvmLogger.zig stub implementation required by fee_market.zig. This fixes the build errors and allows successful compilation of all targets. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Per user request: "remove the hello world benchmark" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Per user request: "use lowercase_snake_case for all file names" Used two-step rename via temp file on macOS to handle case-insensitive filesystem 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Updated all imports from Memory.zig to memory.zig across: - evm.zig - Frame.zig - JumpTable.zig - Operation.zig - Vm.zig 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Per user request: "add benchmark for Memory.zig in the bench/evm/ folder" Created memory_bench.zig with benchmarks for: - Memory initialization (4KB and 1MB) - Byte and word operations - U256 operations - Memory expansion - Large data copying - Memory copy (MCOPY) - Bounded copy operations - Slice reading 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Removed hello world benchmark configuration - Added EVM memory benchmark configuration - Updated benchmark step to run evm-memory-benchmark 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add benchmark for resize operations with various sizes - Add benchmark for word-aligned resize operations - Add comprehensive tests for word alignment behavior - Test exact byte sizing vs word-aligned sizing - Verify gas calculation based on word boundaries 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add initWithLimit and initWithCapacityAndLimit functions - Add resizeWordAligned for strict word-aligned memory sizing - Improve resize function with clearer logic and performance hints - Add comprehensive documentation for memory sizing approaches - Align with EVM spec and support flexible memory sizing like revm 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add comprehensive documentation for all public functions - Clarify parameter requirements and return values - Document error conditions for each function - Add warnings for unsafe operations - Improve consistency in documentation style - Fix indentation and formatting issues 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
7f8c5af
to
5a63df9
Compare
5a63df9
to
2645d1d
Compare
Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information
Your ENS/address: