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

Add basic Test harness #200

Merged
merged 6 commits into from
Mar 10, 2025
Merged

Add basic Test harness #200

merged 6 commits into from
Mar 10, 2025

Conversation

edg-l
Copy link
Member

@edg-l edg-l commented Feb 24, 2025

image

  • Also implements the unary op

Depends on #198

@codecov-commenter
Copy link

codecov-commenter commented Feb 24, 2025

Codecov Report

Attention: Patch coverage is 7.24638% with 192 lines in your changes missing coverage. Please review.

Project coverage is 58.21%. Comparing base (88e9cf8) to head (6c8cc44).

Files with missing lines Patch % Lines
src/driver/mod.rs 0.00% 79 Missing ⚠️
src/ir/lowering/expressions.rs 0.00% 59 Missing ⚠️
src/codegen/compiler.rs 0.00% 37 Missing ⚠️
src/check/mod.rs 0.00% 17 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           stdlib     #200      +/-   ##
==========================================
- Coverage   60.43%   58.21%   -2.22%     
==========================================
  Files          25       25              
  Lines        4282     4471     +189     
==========================================
+ Hits         2588     2603      +15     
- Misses       1694     1868     +174     

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

Copy link

github-actions bot commented Feb 24, 2025

Benchmarking factorial

Compiling factorial (factorial.con)
Finished release in 30.61357ms
Running 5000000 iterations
Using input value: 20
Concrete Result = 2432902008176640000 Time taken : 59.39 ms
Rust Result = 2432902008176640000 Time taken : 60.43 ms

Benchmarking fib

Compiling fib (fib.con)
Finished release in 26.655318ms
Running 5000 iterations
Using input value: 20
Concrete Result = 6765 Time taken : 136.92 ms
Rust Result = 6765 Time taken : 97.96 ms

@edg-l edg-l added this to the 0.01 Talc milestone Feb 24, 2025
@edg-l edg-l merged commit 4fdaac2 into stdlib Mar 10, 2025
6 checks passed
@edg-l edg-l deleted the test_harness branch March 10, 2025 11:42
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.

4 participants