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

Moved wave dump file writing to be async for performance #150

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

mkorbel1
Copy link
Contributor

Description & Motivation

The writeAsStringSync function causes the rest of the program/simulation to block waiting for file I/O, which can cause simulation slow-down. Changing the waveform dumper to asynchronously dump through an IOSink will improve the simulation performance when doing waveform dumping.

Related Issue(s)

Fix #3

Testing

Existing tests cover dumper functionality to ensure that nothing broke.

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

No.

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

Not needed

@mkorbel1 mkorbel1 merged commit 529a3ff into intel:main Aug 19, 2022
@mkorbel1 mkorbel1 deleted the asyncwavedump branch August 19, 2022 16:47
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 this pull request may close these issues.

Put Dumper into a separate isolate to avoid simulation slow-down
1 participant