-
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
Add old ubuntu 20.04 focal to ci #1097
base: main
Are you sure you want to change the base?
Conversation
Benchmark results Main vs HEAD.Base
Head
Base
Head
Base
Head
Base
Head
Base
Head
Base
Head
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1097 +/- ##
=======================================
Coverage 80.80% 80.80%
=======================================
Files 109 109
Lines 29784 29784
=======================================
Hits 24067 24067
Misses 5717 5717 ☔ View full report in Codecov by Sentry. |
Benchmarking resultsBenchmark for program
|
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
20.893 ± 0.147 | 20.755 | 21.159 | 5.45 ± 0.07 |
cairo-native (embedded AOT) |
3.834 ± 0.041 | 3.781 | 3.924 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.898 ± 0.023 | 3.845 | 3.931 | 1.02 ± 0.01 |
Benchmark for program dict_snapshot
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.862 ± 0.040 | 5.784 | 5.940 | 1.60 ± 0.01 |
cairo-native (embedded AOT) |
3.659 ± 0.022 | 3.630 | 3.702 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.776 ± 0.019 | 3.757 | 3.818 | 1.03 ± 0.01 |
Benchmark for program factorial_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
14.522 ± 0.094 | 14.384 | 14.726 | 3.56 ± 0.03 |
cairo-native (embedded AOT) |
4.082 ± 0.020 | 4.038 | 4.105 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
4.113 ± 0.014 | 4.092 | 4.131 | 1.01 ± 0.01 |
Benchmark for program fib_2M
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
14.449 ± 0.084 | 14.361 | 14.625 | 3.98 ± 0.04 |
cairo-native (embedded AOT) |
3.627 ± 0.027 | 3.581 | 3.673 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.650 ± 0.037 | 3.603 | 3.724 | 1.01 ± 0.01 |
Benchmark for program linear_search
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.983 ± 0.057 | 5.906 | 6.056 | 1.60 ± 0.02 |
cairo-native (embedded AOT) |
3.749 ± 0.027 | 3.722 | 3.793 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.855 ± 0.015 | 3.838 | 3.876 | 1.03 ± 0.01 |
Benchmark for program logistic_map
Open benchmarks
Command | Mean [s] | Min [s] | Max [s] | Relative |
---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
5.816 ± 0.043 | 5.758 | 5.886 | 1.54 ± 0.01 |
cairo-native (embedded AOT) |
3.765 ± 0.018 | 3.739 | 3.794 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
3.920 ± 0.025 | 3.889 | 3.965 | 1.04 ± 0.01 |
- name: check and free hdd space left | ||
run: | | ||
echo "Listing 20 largest packages" | ||
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 20 | ||
df -h | ||
sudo apt-get update | ||
sudo apt-get remove -y '^llvm-.*' | ||
sudo apt-get remove -y 'php.*' | ||
sudo apt-get remove -y '^dotnet-.*' | ||
sudo apt-get remove -y '^temurin-.*' | ||
sudo apt-get autoremove -y | ||
sudo apt-get clean | ||
df -h | ||
echo "Removing large directories" | ||
# deleting 15GB | ||
sudo rm -rf /usr/share/dotnet/ | ||
sudo rm -rf /usr/local/lib/android | ||
df -h | ||
- name: Setup rust env | ||
uses: dtolnay/[email protected] | ||
- name: Retreive cached dependecies | ||
uses: Swatinem/rust-cache@v2 | ||
- name: add llvm deb repository | ||
uses: myci-actions/add-deb-repo@11 | ||
with: | ||
repo: deb http://apt.llvm.org/focal/ llvm-toolchain-focal-19 main | ||
repo-name: llvm-repo | ||
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key | ||
- run: sudo apt-get update && sudo apt-get upgrade -y | ||
- name: Install LLVM | ||
run: sudo apt-get install libzstd-dev llvm-19 llvm-19-dev llvm-19-runtime clang-19 clang-tools-19 lld-19 libpolly-19-dev libmlir-19-dev mlir-19-tools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you could use install-linux-deps
action to make the workflow a bit smaller:
cairo_native/.github/workflows/daily.yml
Lines 100 to 107 in 17edff7
# Install dependencies - uses: ./cairo_native/.github/actions/install-linux-deps - name: Setup rust env uses: dtolnay/[email protected] - name: Retreive cached dependecies uses: Swatinem/rust-cache@v2 with: workspaces: starknet-replay
Checklist