-
Notifications
You must be signed in to change notification settings - Fork 5
[cli] deploy benchmarks with optimize: "cycles"
#286
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
base: main
Are you sure you want to change the base?
Conversation
WalkthroughA new property, Changes
Poem
Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. Note ⚡️ Faster reviews with cachingCodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (1)
✨ Finishing Touches
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 (
|
Benchmark Resultsbench/1-buffer-vector-add.bench.mo
|
10 | 10000 | 1000000 | |
---|---|---|---|
Buffer | 10_589 |
6_204_478 |
573_081_816 |
Vector | 15_416 |
4_909_875 |
468_132_811 |
Heap
10 | 10000 | 1000000 | |
---|---|---|---|
Buffer | 272 B |
272 B |
272 B |
Vector | 272 B |
272 B |
272 B |
Garbage Collection
10 | 10000 | 1000000 | |
---|---|---|---|
Buffer | 1.09 KiB |
143.28 KiB |
12.02 MiB |
Vector | 1.09 KiB |
45.65 KiB |
3.86 MiB |
bench/2-vector-buffer-add.bench.mo $({\color{gray}0\%})$
Add
Add items one-by-one
Instructions:
Heap:
Stable Memory:
Garbage Collection:
Instructions
10 | 10000 | 1000000 | |
---|---|---|---|
Vector | 15_416 |
4_910_243 |
468_155_259 |
Buffer | 10_589 |
6_203_374 |
573_078_872 |
Heap
10 | 10000 | 1000000 | |
---|---|---|---|
Vector | 272 B |
272 B |
272 B |
Buffer | 272 B |
272 B |
272 B |
Garbage Collection
10 | 10000 | 1000000 | |
---|---|---|---|
Vector | 1.09 KiB |
45.65 KiB |
3.86 MiB |
Buffer | 1.09 KiB |
143.28 KiB |
12.02 MiB |
bench/array.bench.mo $({\color{gray}0\%})$
Array
arr arr
Instructions:
Heap:
Stable Memory:
Garbage Collection:
Instructions
100k x1 | reset1 | 100k x3 | reset2 | 100k x4 | reset3 | |
---|---|---|---|---|---|---|
Array | 15_002_649 |
4_455 |
30_004_139 |
5_073 |
60_005_196 |
5_691 |
Heap
100k x1 | reset1 | 100k x3 | reset2 | 100k x4 | reset3 | |
---|---|---|---|---|---|---|
Array | 390.9 KiB |
-390.37 KiB |
390.9 KiB |
-390.37 KiB |
390.9 KiB |
-390.37 KiB |
Garbage Collection
100k x1 | reset1 | 100k x3 | reset2 | 100k x4 | reset3 | |
---|---|---|---|---|---|---|
Array | 360 B |
390.97 KiB |
391 KiB |
390.97 KiB |
1.14 MiB |
390.97 KiB |
bench/removeLast.bench.mo $({\color{gray}0\%})$
Remove items using removeLast
Vector and buffer are initialized with 100k items and then 70k items are removed one-by-one.
Instructions:
Heap:
Stable Memory:
Garbage Collection:
Instructions
remove 70k | |
---|---|
Vector | 32_210_297 |
Buffer | 31_716_422 |
Heap
remove 70k | |
---|---|
Vector | -136.8 KiB |
Buffer | -269.76 KiB |
Garbage Collection
remove 70k | |
---|---|
Vector | 139.45 KiB |
Buffer | 540.43 KiB |
bench/stable-memory.bench.mo $({\color{gray}0\%})$
Stable Memory and Region
Grow Region and store blobs in it
Instructions:
Heap:
Stable Memory:
Garbage Collection:
Instructions
Region (fill 1/100) | Region (fill 1/50) | StableMemory | |
---|---|---|---|
10 pages | 65_117_422 |
260_557_814 |
2_861 |
100 pages | 1_302_325_766 |
2_604_593_980 |
2_954 |
256 pages | 3_334_080_226 |
6_668_025_672 |
3_704 |
Heap
Region (fill 1/100) | Region (fill 1/50) | StableMemory | |
---|---|---|---|
10 pages | 296 B |
272 B |
276 B |
100 pages | 308 B |
308 B |
272 B |
256 pages | 308 B |
308 B |
276 B |
Garbage Collection
Region (fill 1/100) | Region (fill 1/50) | StableMemory | |
---|---|---|---|
10 pages | 2.38 MiB |
9.51 MiB |
336 B |
100 pages | 47.55 MiB |
95.1 MiB |
340 B |
256 pages | 121.73 MiB |
243.45 MiB |
340 B |
Stable Memory
Region (fill 1/100) | Region (fill 1/50) | StableMemory | |
---|---|---|---|
10 pages | 8 MiB |
8 MiB |
8 MiB |
100 pages | 8 MiB |
8 MiB |
0 B |
256 pages | 16 MiB |
16 MiB |
16 MiB |
fixes #284
Summary by CodeRabbit