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

[TEST] quickjs with profiling enabled #508

Closed
wants to merge 7 commits into from

Conversation

MarkAckert
Copy link
Member

Upstream quickjs pull request 371 enables profiling which includes some coverage information in its output. Goal is to see if we can use this to enable line coverage for zwe tests.

I used a new fork to merge code changes from quickjs-portable into the upstream PR.

@JoeNemo
Copy link
Contributor

JoeNemo commented Dec 18, 2024

@MarkAckert Do you need my assistance to merge to quickjs-portable?

Signed-off-by: MarkAckert <[email protected]>
@MarkAckert
Copy link
Member Author

Hey Joe, I might need help, but after the holidays. The merge conflicts weren't too complex but I've still managed to hit some compilation errors after the merge, and I assume there could be other runtime issues as well. If I get stuck I'll reach out.

@MarkAckert
Copy link
Member Author

I was able to get the profiling code in and working, but it's not generating enough data to be useful for line coverage.

I'm going to close this PR but leave the branch around, I might revisit this in the future and take a shot at adding line coverage to quickjs.

@MarkAckert MarkAckert closed this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants