Skip to content

Print statement for codegen backends#217

Open
siyi-hu wants to merge 23 commits into
mainfrom
sh/print-for-codegen
Open

Print statement for codegen backends#217
siyi-hu wants to merge 23 commits into
mainfrom
sh/print-for-codegen

Conversation

@siyi-hu

@siyi-hu siyi-hu commented Oct 22, 2025

Copy link
Copy Markdown
Contributor

Add a print statement to c++ and numba backends to print out the content of input arguments. Solving issue #194 .

@mtsokol mtsokol added enhancement New feature or request assembly IR labels Feb 12, 2026
@willow-ahrens willow-ahrens enabled auto-merge (squash) February 27, 2026 15:46
@codspeed-hq

codspeed-hq Bot commented Jun 30, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 11.99%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 3 regressed benchmarks
✅ 29 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime test_ops_binary[interpret_galley-multiply] 786.2 ms 895.3 ms -12.19%
WallTime test_ops_binary[interpret_galley-add] 787 ms 894.6 ms -12.03%
WallTime test_ops_reduction[interpret_galley-sum] 419.5 ms 475.4 ms -11.76%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing sh/print-for-codegen (965f79d) with main (64775fa)

Open in CodSpeed

@willow-ahrens willow-ahrens left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm not sure about this. It seems like extra complexity, and nobody has asked for it in a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

assembly IR enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants