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

CI: Add fresh_run daily workflow #1402

Merged
merged 62 commits into from
Sep 1, 2023
Merged

CI: Add fresh_run daily workflow #1402

merged 62 commits into from
Sep 1, 2023

Conversation

fmoletta
Copy link
Contributor

@fmoletta fmoletta commented Aug 24, 2023

Adds a workflow that runs the deps, build, and test makefile targets without using any cached builds/files. The aim of this workflow is to simulate what a new user does once they download the repo.
As this workflow doesn't use any cached data it will take some time to run, so it should be run daily and not in each PR

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.

@fmoletta fmoletta added the pipelines This PR/issue is exclusively about improving our CI label Aug 24, 2023
@fmoletta fmoletta linked an issue Aug 24, 2023 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Aug 24, 2023

Codecov Report

Merging #1402 (8d6fe97) into main (91eeff5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1402   +/-   ##
=======================================
  Coverage   96.98%   96.98%           
=======================================
  Files          93       93           
  Lines       38504    38504           
=======================================
  Hits        37342    37342           
  Misses       1162     1162           

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

@github-actions
Copy link

github-actions bot commented Aug 24, 2023

Benchmark Results for unmodified programs 🚀

Command Mean [s] Min [s] Max [s] Relative
base big_factorial 4.120 ± 0.007 4.109 4.130 1.00 ± 0.00
head big_factorial 4.110 ± 0.014 4.094 4.139 1.00
Command Mean [s] Min [s] Max [s] Relative
base big_fibonacci 3.435 ± 0.011 3.426 3.460 1.00
head big_fibonacci 3.469 ± 0.049 3.441 3.608 1.01 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base blake2s_integration_benchmark 9.640 ± 0.072 9.595 9.812 1.00 ± 0.01
head blake2s_integration_benchmark 9.622 ± 0.029 9.590 9.676 1.00
Command Mean [s] Min [s] Max [s] Relative
base compare_arrays_200000 3.561 ± 0.018 3.541 3.594 1.00
head compare_arrays_200000 3.578 ± 0.021 3.553 3.621 1.00 ± 0.01
Command Mean [s] Min [s] Max [s] Relative
base dict_integration_benchmark 2.367 ± 0.013 2.357 2.398 1.00 ± 0.01
head dict_integration_benchmark 2.357 ± 0.007 2.348 2.366 1.00
Command Mean [s] Min [s] Max [s] Relative
base field_arithmetic_get_square_benchmark 1.732 ± 0.004 1.726 1.739 1.00
head field_arithmetic_get_square_benchmark 1.732 ± 0.003 1.728 1.739 1.00 ± 0.00
Command Mean [s] Min [s] Max [s] Relative
base integration_builtins 9.599 ± 0.291 9.453 10.408 1.01 ± 0.03
head integration_builtins 9.499 ± 0.011 9.487 9.521 1.00
Command Mean [s] Min [s] Max [s] Relative
base keccak_integration_benchmark 9.762 ± 0.013 9.749 9.794 1.00
head keccak_integration_benchmark 9.775 ± 0.024 9.752 9.824 1.00 ± 0.00
Command Mean [s] Min [s] Max [s] Relative
base linear_search 3.575 ± 0.008 3.566 3.593 1.00
head linear_search 3.575 ± 0.015 3.559 3.614 1.00 ± 0.00
Command Mean [s] Min [s] Max [s] Relative
base math_cmp_and_pow_integration_benchmark 2.594 ± 0.005 2.586 2.602 1.01 ± 0.00
head math_cmp_and_pow_integration_benchmark 2.577 ± 0.004 2.572 2.586 1.00
Command Mean [s] Min [s] Max [s] Relative
base math_integration_benchmark 2.316 ± 0.007 2.308 2.327 1.00
head math_integration_benchmark 2.319 ± 0.004 2.314 2.326 1.00 ± 0.00
Command Mean [s] Min [s] Max [s] Relative
base memory_integration_benchmark 2.052 ± 0.004 2.046 2.056 1.00 ± 0.00
head memory_integration_benchmark 2.051 ± 0.004 2.045 2.058 1.00
Command Mean [s] Min [s] Max [s] Relative
base operations_with_data_structures_benchmarks 2.265 ± 0.008 2.256 2.283 1.01 ± 0.01
head operations_with_data_structures_benchmarks 2.252 ± 0.012 2.237 2.284 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
base pedersen 799.6 ± 1.7 797.2 802.3 1.00 ± 0.00
head pedersen 797.1 ± 1.2 795.1 798.8 1.00
Command Mean [s] Min [s] Max [s] Relative
base poseidon_integration_benchmark 1.476 ± 0.007 1.466 1.490 1.00 ± 0.01
head poseidon_integration_benchmark 1.472 ± 0.003 1.467 1.475 1.00
Command Mean [s] Min [s] Max [s] Relative
base secp_integration_benchmark 2.866 ± 0.003 2.861 2.870 1.00
head secp_integration_benchmark 2.878 ± 0.008 2.872 2.896 1.00 ± 0.00
Command Mean [s] Min [s] Max [s] Relative
base set_integration_benchmark 1.633 ± 0.013 1.620 1.658 1.00 ± 0.01
head set_integration_benchmark 1.625 ± 0.003 1.621 1.630 1.00
Command Mean [s] Min [s] Max [s] Relative
base uint256_integration_benchmark 6.345 ± 0.047 6.315 6.444 1.00 ± 0.01
head uint256_integration_benchmark 6.317 ± 0.027 6.293 6.381 1.00

Base automatically changed from fix-build to main August 29, 2023 17:45
@fmoletta fmoletta marked this pull request as ready for review August 30, 2023 17:16
Copy link
Collaborator

@pefontana pefontana left a comment

Choose a reason for hiding this comment

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

Nice one @fmoletta !

@pefontana pefontana added this pull request to the merge queue Sep 1, 2023
Merged via the queue into main with commit a36b313 Sep 1, 2023
@pefontana pefontana deleted the fresh-run-ci branch September 1, 2023 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pipelines This PR/issue is exclusively about improving our CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a CI job that replicate the user experience
3 participants