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

Inconsistent logging of function with PrintPirAfterOpt #1304

Open
rihafilip opened this issue Aug 1, 2024 · 0 comments
Open

Inconsistent logging of function with PrintPirAfterOpt #1304

rihafilip opened this issue Aug 1, 2024 · 0 comments

Comments

@rihafilip
Copy link
Collaborator

When printing the compilations with PrintPirAfterOpt, the order of nested compilations is not consistent.

This can be observed by running the benchmark -f harness.r --args bounce_nonames_simple 15 35 with

PIR_DEBUG=PrintPirAfterOpt,PrintToStdout

and then with

RIR_RECORD=rec.rds RIR_RECORD_FILTER=Invoke,Deopt,Compile,TypeFeedback PIR_DEBUG=PrintPirAfterOpt,PrintToStdout 

on commit 4c778d7.
For the compilation of execute, the functions are logged in a different orders.
This is because recording creates and preserves SEXPs, thus modifies the R memory.

Also the order of closing footers does not correspond to the order of opening headers.

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

No branches or pull requests

1 participant