guppylang icon indicating copy to clipboard operation
guppylang copied to clipboard

fix: Fix calls with comptime args inside comptime functions

Open mark-koch opened this issue 1 week ago • 3 comments

Fixes #1359

mark-koch avatar Nov 26 '25 16:11 mark-koch

🐰 Bencher Report

Branchfix/comptime-args-call
TestbedLinux
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
microseconds (µs)
(Result Δ%)
Upper Boundary
microseconds (µs)
(Limit %)
tests/benchmarks/test_big_array.py::test_big_array_check📈 view plot
🚷 view threshold
651,506.64 µs
(-8.83%)Baseline: 714,601.76 µs
750,331.85 µs
(86.83%)
tests/benchmarks/test_big_array.py::test_big_array_compile📈 view plot
🚷 view threshold
1,554,263.89 µs
(+1.84%)Baseline: 1,526,155.61 µs
1,602,463.39 µs
(96.99%)
tests/benchmarks/test_big_array.py::test_big_array_executable📈 view plot
🚷 view threshold
7,221,793.13 µs
(+1.28%)Baseline: 7,130,187.54 µs
7,486,696.92 µs
(96.46%)
tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_check📈 view plot
🚷 view threshold
49,530.51 µs
(-33.90%)Baseline: 74,928.55 µs
78,674.98 µs
(62.96%)
tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_compile📈 view plot
🚷 view threshold
88,418.46 µs
(+1.13%)Baseline: 87,432.32 µs
91,803.94 µs
(96.31%)
tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_executable📈 view plot
🚷 view threshold
597,465.29 µs
(+0.52%)Baseline: 594,387.40 µs
624,106.77 µs
(95.73%)
tests/benchmarks/test_prelude.py::test_import_guppy📈 view plot
🚷 view threshold
47.49 µs
(-1.99%)Baseline: 48.45 µs
50.88 µs
(93.34%)
🐰 View full continuous benchmarking report in Bencher

github-actions[bot] avatar Nov 26 '25 16:11 github-actions[bot]

🐰 Bencher Report

Branchfix/comptime-args-call
TestbedLinux
Click to view all benchmark results
Benchmarkhugr_bytesBenchmark Result
bytes x 1e3
(Result Δ%)
Upper Boundary
bytes x 1e3
(Limit %)
hugr_nodesBenchmark Result
nodes
(Result Δ%)
Upper Boundary
nodes
(Limit %)
tests/benchmarks/test_big_array.py::test_big_array_compile📈 view plot
🚷 view threshold
143.67 x 1e3
(0.00%)Baseline: 143.67 x 1e3
145.10 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
6,590.00
(0.00%)Baseline: 6,590.00
6,655.90
(99.01%)
tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_compile📈 view plot
🚷 view threshold
21.64 x 1e3
(0.00%)Baseline: 21.64 x 1e3
21.86 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
606.00
(0.00%)Baseline: 606.00
612.06
(99.01%)
🐰 View full continuous benchmarking report in Bencher

github-actions[bot] avatar Nov 26 '25 16:11 github-actions[bot]

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 93.50%. Comparing base (cdc5c68) to head (517dddf).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1360   +/-   ##
=======================================
  Coverage   93.50%   93.50%           
=======================================
  Files         125      125           
  Lines       11280    11282    +2     
=======================================
+ Hits        10547    10549    +2     
  Misses        733      733           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

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

codecov-commenter avatar Nov 26 '25 17:11 codecov-commenter