Skip to content

Avoid meta-compilation on each test #169

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

Open
PalumboN opened this issue Mar 19, 2025 · 0 comments · May be fixed by #189
Open

Avoid meta-compilation on each test #169

PalumboN opened this issue Mar 19, 2025 · 0 comments · May be fixed by #189
Assignees

Comments

@PalumboN
Copy link
Contributor

PalumboN commented Mar 19, 2025

Now each test is meta-compiling the primitive/bytecode under assertion.
This causes the same primitive/bytecode is meta-compiled multiple times.

It is too time consuming.

We should meta-compile all primitive/bytecodes for Register/Simple Cogit once at the beginning, and the tests should only execute the already generated code on the machine code simulator and do the asserts.

Check the TestResource class

@PalumboN PalumboN self-assigned this Apr 11, 2025
@PalumboN PalumboN linked a pull request May 12, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant