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

Is "Run Time" correct? #22

Open
lerno opened this issue Jan 1, 2022 · 4 comments
Open

Is "Run Time" correct? #22

lerno opened this issue Jan 1, 2022 · 4 comments

Comments

@lerno
Copy link
Contributor

lerno commented Jan 1, 2022

From what I can see "Run Time" is merely invoking the compiler. It doesn't run the main created and so consequently the "Run Time" goes down with number of functions. A simple test with C bears this out. I get 28650, 2677 and 269 respectively for 100/10 100/100 100/1000.

Is this intentional?

@nordlow
Copy link
Owner

nordlow commented Jan 4, 2022

"Run Time" means time it takes to run the main file that is compiled. Does that answer your question?

@lerno
Copy link
Contributor Author

lerno commented Jan 5, 2022

Yes, but it doesn't look like that's what it does. More like it's running the compiler without any arguments.

@nordlow
Copy link
Owner

nordlow commented Jan 12, 2022

Yes, but it doesn't look like that's what it does. More like it's running the compiler without any arguments.

That's only for languages that doesn't have separate compilation stage in languages interpreter or just-in-time compiled languages such as Julia.

@lerno
Copy link
Contributor Author

lerno commented Jan 14, 2022

For C and C3 I can only see that "run" runs the compiler.

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

No branches or pull requests

2 participants