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

mallocing slows down cex mode #24

Open
priyasiddharth opened this issue Oct 7, 2020 · 0 comments · May be fixed by #50
Open

mallocing slows down cex mode #24

priyasiddharth opened this issue Oct 7, 2020 · 0 comments · May be fixed by #50

Comments

@priyasiddharth
Copy link
Collaborator

Regarding the common helper functions... For a specific example: mallocing nodes in the helper functions seems to increase cex mode run time from 1s to 14s. Stack allocating in the harness itself and using helper functions to initialize puts the cex mode runtime at 3s. My recommendation is to not malloc in the helper function. If sounds ok... then i will refactor.

info:
target commit: 54dad4d

job: linked_list_push_back

original run time in cex mode: 1s
new run time in cex mode: 14s
new run time if malloc removed by stack allocation in harness: 3s

vac and normal mode are not affeced

@priyasiddharth priyasiddharth linked a pull request Jan 5, 2021 that will close this issue
@priyasiddharth priyasiddharth linked a pull request Jan 6, 2021 that will close this issue
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 a pull request may close this issue.

1 participant