-
Notifications
You must be signed in to change notification settings - Fork 46
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
Implement libfunc profiler. #946
Open
azteca1998
wants to merge
6
commits into
main
Choose a base branch
from
add-libfunc-profiling
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Benchmarking resultsBenchmark for program
|
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
20.818 ± 0.277 | 20.553 | 21.515 | 5.50 ± 0.09 |
cairo-native (embedded AOT) |
3.786 ± 0.036 | 3.739 | 3.832 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.932 ± 0.038 | 3.878 | 3.991 | 1.04 ± 0.01 |
Benchmark for program dict_snapshot
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.988 ± 0.128 | 5.798 | 6.190 | 1.59 ± 0.04 |
cairo-native (embedded AOT) |
3.762 ± 0.050 | 3.679 | 3.810 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.855 ± 0.076 | 3.730 | 3.990 | 1.02 ± 0.02 |
Benchmark for program factorial_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
14.281 ± 0.121 | 14.057 | 14.477 | 3.51 ± 0.06 |
cairo-native (embedded AOT) |
4.065 ± 0.059 | 3.966 | 4.161 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
4.116 ± 0.044 | 4.073 | 4.190 | 1.01 ± 0.02 |
Benchmark for program fib_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
14.274 ± 0.075 | 14.163 | 14.406 | 3.99 ± 0.03 |
cairo-native (embedded AOT) |
3.578 ± 0.025 | 3.545 | 3.617 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.684 ± 0.042 | 3.619 | 3.743 | 1.03 ± 0.01 |
Benchmark for program linear_search
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.846 ± 0.039 | 5.775 | 5.895 | 1.59 ± 0.02 |
cairo-native (embedded AOT) |
3.666 ± 0.029 | 3.623 | 3.703 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.865 ± 0.030 | 3.816 | 3.910 | 1.05 ± 0.01 |
Benchmark for program logistic_map
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.818 ± 0.044 | 5.752 | 5.893 | 1.52 ± 0.02 |
cairo-native (embedded AOT) |
3.819 ± 0.043 | 3.776 | 3.891 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.889 ± 0.044 | 3.826 | 3.972 | 1.02 ± 0.02 |
Benchmark results Main vs HEAD.Base
Head
Base
Head
Base
Head
Base
Head
Base
Head
Base
Head
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #946 +/- ##
========================================
Coverage 80.80% 80.80%
========================================
Files 109 109
Lines 29784 29666 -118
========================================
- Hits 24067 23973 -94
+ Misses 5717 5693 -24 ☔ View full report in Codecov by Sentry. |
5 tasks
f711785
to
43dde6e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implementation of a libfunc profiler.
For each executed libfunc, generates:
Also implements an outlier detection system to filter out operating system noise.
Checklist