Skip to content

Conversation

@JulianGCalderon
Copy link
Contributor

Prepare for publishing starknet-native-compile

  • Updates the release workflow to publish starknet-native-compile
  • Adds very simple README and package metadata

@igaray igaray enabled auto-merge October 22, 2025 16:07
@github-actions
Copy link

Benchmarking results

Benchmark for program dict_insert

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 10.896 ± 0.040 10.847 10.988 4.42 ± 0.07
cairo-native (embedded AOT) 2.465 ± 0.036 2.410 2.530 1.00
cairo-native (embedded JIT using LLVM's ORC Engine) 2.531 ± 0.019 2.504 2.570 1.03 ± 0.02

Benchmark for program dict_snapshot

Open benchmarks
Command Mean [ms] Min [ms] Max [ms] Relative
Cairo-vm (Rust, Cairo 1) 523.4 ± 6.0 515.2 535.8 1.00
cairo-native (embedded AOT) 2138.8 ± 20.2 2104.0 2166.1 4.09 ± 0.06
cairo-native (embedded JIT using LLVM's ORC Engine) 2277.4 ± 27.7 2239.9 2334.4 4.35 ± 0.07

Benchmark for program factorial_2M

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 4.770 ± 0.029 4.737 4.837 1.84 ± 0.02
cairo-native (embedded AOT) 2.594 ± 0.017 2.562 2.621 1.00
cairo-native (embedded JIT using LLVM's ORC Engine) 2.636 ± 0.029 2.604 2.699 1.02 ± 0.01

Benchmark for program fib_2M

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 4.708 ± 0.013 4.684 4.728 2.20 ± 0.04
cairo-native (embedded AOT) 2.135 ± 0.037 2.084 2.198 1.00
cairo-native (embedded JIT using LLVM's ORC Engine) 2.214 ± 0.042 2.159 2.284 1.04 ± 0.03

Benchmark for program heavy_circuit

Open benchmarks
Command Mean [s] Min [s] Max [s] Relative
Cairo-vm (Rust, Cairo 1) 9.649 ± 0.096 9.512 9.776 1.00
cairo-native (embedded AOT) 13.936 ± 0.143 13.690 14.131 1.44 ± 0.02
cairo-native (embedded JIT using LLVM's ORC Engine) 14.103 ± 0.083 13.983 14.273 1.46 ± 0.02

Benchmark for program linear_search

Open benchmarks
Command Mean [ms] Min [ms] Max [ms] Relative
Cairo-vm (Rust, Cairo 1) 571.9 ± 11.5 555.3 591.0 1.00
cairo-native (embedded AOT) 2171.0 ± 17.3 2154.4 2215.8 3.80 ± 0.08
cairo-native (embedded JIT using LLVM's ORC Engine) 2349.4 ± 11.5 2333.9 2371.7 4.11 ± 0.09

Benchmark for program logistic_map

Open benchmarks
Command Mean [ms] Min [ms] Max [ms] Relative
Cairo-vm (Rust, Cairo 1) 381.3 ± 6.4 375.1 392.3 1.00
cairo-native (embedded AOT) 2259.3 ± 16.8 2232.5 2283.2 5.93 ± 0.11
cairo-native (embedded JIT using LLVM's ORC Engine) 2433.8 ± 24.7 2404.4 2478.5 6.38 ± 0.12

@igaray igaray added this pull request to the merge queue Oct 22, 2025
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.45%. Comparing base (d8c86dd) to head (3d3af5a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1435   +/-   ##
=======================================
  Coverage   81.45%   81.45%           
=======================================
  Files         105      105           
  Lines       25869    25869           
=======================================
  Hits        21072    21072           
  Misses       4797     4797           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link

Benchmark results Main vs HEAD.

Base

Command Mean [s] Min [s] Max [s] Relative
base dict_insert.cairo (JIT) 2.790 ± 0.047 2.743 2.898 1.03 ± 0.03
base dict_insert.cairo (AOT) 2.699 ± 0.048 2.627 2.779 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head dict_insert.cairo (JIT) 2.547 ± 0.033 2.514 2.602 1.04 ± 0.01
head dict_insert.cairo (AOT) 2.445 ± 0.009 2.435 2.462 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base dict_snapshot.cairo (JIT) 2.465 ± 0.042 2.389 2.536 1.01 ± 0.02
base dict_snapshot.cairo (AOT) 2.436 ± 0.038 2.372 2.497 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head dict_snapshot.cairo (JIT) 2.240 ± 0.020 2.217 2.272 1.05 ± 0.01
head dict_snapshot.cairo (AOT) 2.139 ± 0.016 2.120 2.161 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base factorial_2M.cairo (JIT) 2.947 ± 0.059 2.825 3.012 1.03 ± 0.03
base factorial_2M.cairo (AOT) 2.849 ± 0.043 2.802 2.910 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head factorial_2M.cairo (JIT) 2.629 ± 0.033 2.593 2.702 1.00 ± 0.02
head factorial_2M.cairo (AOT) 2.618 ± 0.023 2.592 2.656 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base fib_2M.cairo (JIT) 2.323 ± 0.053 2.259 2.419 1.05 ± 0.03
base fib_2M.cairo (AOT) 2.216 ± 0.039 2.170 2.310 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head fib_2M.cairo (JIT) 2.160 ± 0.019 2.125 2.196 1.03 ± 0.01
head fib_2M.cairo (AOT) 2.107 ± 0.013 2.086 2.127 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base heavy_circuit.cairo (JIT) 14.921 ± 0.332 14.456 15.366 1.04 ± 0.02
base heavy_circuit.cairo (AOT) 14.410 ± 0.108 14.245 14.594 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head heavy_circuit.cairo (JIT) 14.007 ± 0.047 13.951 14.094 1.03 ± 0.01
head heavy_circuit.cairo (AOT) 13.635 ± 0.122 13.513 13.891 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base linear_search.cairo (JIT) 2.532 ± 0.032 2.477 2.578 1.08 ± 0.02
base linear_search.cairo (AOT) 2.334 ± 0.034 2.292 2.407 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head linear_search.cairo (JIT) 2.357 ± 0.030 2.320 2.422 1.08 ± 0.02
head linear_search.cairo (AOT) 2.190 ± 0.022 2.159 2.223 1.00

Base

Command Mean [s] Min [s] Max [s] Relative
base logistic_map.cairo (JIT) 2.638 ± 0.050 2.554 2.719 1.06 ± 0.02
base logistic_map.cairo (AOT) 2.499 ± 0.032 2.454 2.556 1.00

Head

Command Mean [s] Min [s] Max [s] Relative
head logistic_map.cairo (JIT) 2.438 ± 0.023 2.412 2.480 1.08 ± 0.01
head logistic_map.cairo (AOT) 2.265 ± 0.021 2.233 2.297 1.00

Merged via the queue into main with commit 8de4ba8 Oct 22, 2025
30 checks passed
@igaray igaray deleted the publish-starknet-native-compile branch October 22, 2025 17:03
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.

5 participants