Skip to content
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

Fix cairo1 Felt252DictEntryUpdate hint #1624

Merged
merged 7 commits into from
Feb 15, 2024
Merged

Fix cairo1 Felt252DictEntryUpdate hint #1624

merged 7 commits into from
Feb 15, 2024

Conversation

juanbono
Copy link
Collaborator

Fix Felt252DictEntryUpdate hint

Description

Description of the pull request changes and motivation.

Checklist

  • Linked to Github Issue
  • Unit tests added
  • Integration tests added.
  • This change requires new documentation.
    • Documentation has been added/updated.
    • CHANGELOG has been updated.

@juanbono juanbono changed the title Fix cairo1 hint Fix cairo1 Felt252DictEntryUpdate hint Feb 15, 2024
Copy link

codecov bot commented Feb 15, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (1f98fef) 97.72% compared to head (7779218) 97.71%.

Files Patch % Lines
...processor/cairo_1_hint_processor/hint_processor.rs 33.33% 4 Missing ⚠️
...sor/cairo_1_hint_processor/hint_processor_utils.rs 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1624      +/-   ##
==========================================
- Coverage   97.72%   97.71%   -0.01%     
==========================================
  Files          91       91              
  Lines       37278    37301      +23     
==========================================
+ Hits        36429    36448      +19     
- Misses        849      853       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Feb 15, 2024

Benchmark Results for unmodified programs 🚀

Command Mean [s] Min [s] Max [s] Relative
base big_factorial 2.287 ± 0.037 2.256 2.377 1.01 ± 0.02
head big_factorial 2.275 ± 0.021 2.249 2.318 1.00
Command Mean [s] Min [s] Max [s] Relative
base big_fibonacci 2.241 ± 0.019 2.216 2.280 1.00
head big_fibonacci 2.263 ± 0.037 2.219 2.355 1.01 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base blake2s_integration_benchmark 8.561 ± 0.227 8.406 9.166 1.01 ± 0.03
head blake2s_integration_benchmark 8.435 ± 0.024 8.399 8.477 1.00
Command Mean [s] Min [s] Max [s] Relative
base compare_arrays_200000 2.316 ± 0.017 2.294 2.341 1.00
head compare_arrays_200000 2.329 ± 0.017 2.309 2.359 1.01 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base dict_integration_benchmark 1.444 ± 0.018 1.429 1.486 1.00
head dict_integration_benchmark 1.466 ± 0.008 1.453 1.478 1.02 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base field_arithmetic_get_square_benchmark 1.395 ± 0.031 1.371 1.478 1.00
head field_arithmetic_get_square_benchmark 1.408 ± 0.044 1.381 1.519 1.01 ± 0.04
Command Mean [s] Min [s] Max [s] Relative
base integration_builtins 8.517 ± 0.138 8.423 8.879 1.00 ± 0.02
head integration_builtins 8.507 ± 0.157 8.426 8.949 1.00
Command Mean [s] Min [s] Max [s] Relative
base keccak_integration_benchmark 8.828 ± 0.217 8.656 9.383 1.00 ± 0.03
head keccak_integration_benchmark 8.784 ± 0.096 8.702 8.942 1.00
Command Mean [s] Min [s] Max [s] Relative
base linear_search 2.392 ± 0.067 2.333 2.531 1.01 ± 0.03
head linear_search 2.366 ± 0.014 2.344 2.390 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_cmp_and_pow_integration_benchmark 1.804 ± 0.014 1.787 1.830 1.00
head math_cmp_and_pow_integration_benchmark 1.815 ± 0.029 1.787 1.891 1.01 ± 0.02
Command Mean [s] Min [s] Max [s] Relative
base math_integration_benchmark 1.603 ± 0.015 1.588 1.637 1.00
head math_integration_benchmark 1.618 ± 0.015 1.597 1.652 1.01 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base memory_integration_benchmark 1.272 ± 0.008 1.257 1.287 1.00
head memory_integration_benchmark 1.276 ± 0.008 1.267 1.291 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base operations_with_data_structures_benchmarks 1.906 ± 0.027 1.882 1.975 1.01 ± 0.02
head operations_with_data_structures_benchmarks 1.895 ± 0.014 1.882 1.931 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base pedersen 595.1 ± 10.1 588.1 621.4 1.00
head pedersen 595.5 ± 8.2 590.5 617.8 1.00 ± 0.02
Command Mean [ms] Min [ms] Max [ms] Relative
base poseidon_integration_benchmark 988.6 ± 6.1 981.7 1002.3 1.00
head poseidon_integration_benchmark 991.5 ± 5.7 984.1 1002.2 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base secp_integration_benchmark 1.935 ± 0.013 1.916 1.955 1.00
head secp_integration_benchmark 1.941 ± 0.008 1.930 1.957 1.00 ± 0.01
Command Mean [ms] Min [ms] Max [ms] Relative
base set_integration_benchmark 724.3 ± 2.6 720.8 728.1 1.00
head set_integration_benchmark 728.1 ± 3.1 725.0 733.4 1.01 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base uint256_integration_benchmark 4.642 ± 0.032 4.607 4.687 1.00
head uint256_integration_benchmark 4.675 ± 0.079 4.625 4.886 1.01 ± 0.02

@pefontana pefontana added this pull request to the merge queue Feb 15, 2024
Merged via the queue into main with commit 8f2ddf8 Feb 15, 2024
49 of 50 checks passed
@pefontana pefontana deleted the fix_cairo1_hint branch February 15, 2024 19:31
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.

3 participants