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

Rust cache tests #600

Merged
merged 24 commits into from
Dec 22, 2022
Merged

Rust cache tests #600

merged 24 commits into from
Dec 22, 2022

Conversation

klaus993
Copy link
Contributor

No description provided.

@@ -2,7 +2,7 @@ name: benchmark_pr

on:
pull_request:
branches: [ '*' ]
branches: [ 'asfd' ]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@klaus993 change this

@Oppen
Copy link
Contributor

Oppen commented Nov 15, 2022

Triggered manually with clean cache to compare timings. With cached deps it took 15m to run. Without it it takes 21m.

This is not currently caching the target directory, so it can improve a bit more. For that we'll need to make it build all targets so other workflows can benefit as well.

PS: sorry @klaus993 for destroying the other PR, I misunderstood the "tests" in the title and thought it was for testing the cache action 🤦‍♂️

@codecov-commenter
Copy link

Codecov Report

Merging #600 (2ddbc6f) into main (b10fe60) will increase coverage by 94.83%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           main     #600       +/-   ##
=========================================
+ Coverage      0   94.83%   +94.83%     
=========================================
  Files         0       60       +60     
  Lines         0     4144     +4144     
=========================================
+ Hits          0     3930     +3930     
- Misses        0      214      +214     
Impacted Files Coverage Δ
src/serde/deserialize_utils.rs 84.05% <0.00%> (ø)
...t_processor/builtin_hint_processor/memset_utils.rs 100.00% <0.00%> (ø)
...s/instance_definitions/range_check_instance_def.rs 100.00% <0.00%> (ø)
src/hint_processor/builtin_hint_processor/set.rs 100.00% <0.00%> (ø)
...hint_processor/builtin_hint_processor/pow_utils.rs 100.00% <0.00%> (ø)
..._processor/builtin_hint_processor/secp/ec_utils.rs 100.00% <0.00%> (ø)
src/hint_processor/builtin_hint_processor/usort.rs 93.33% <0.00%> (ø)
...t_processor/builtin_hint_processor/dict_manager.rs 87.14% <0.00%> (ø)
...uiltin_hint_processor/cairo_keccak/keccak_hints.rs 87.80% <0.00%> (ø)
src/vm/vm_core.rs 96.38% <0.00%> (ø)
... and 50 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

As explained in Swatinem/rust-cache#37, build artifacts only contribute
to bloating the cache, as the divergences negate any benefits from
caching them due to the cache key not changing over most commits.
@Juan-M-V Juan-M-V merged commit 2b4de15 into main Dec 22, 2022
@Juan-M-V Juan-M-V deleted the rust-cache-tests branch December 22, 2022 14:15
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.

6 participants