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

WaveDumper optimization #242

Merged
merged 3 commits into from
Jan 5, 2023
Merged

WaveDumper optimization #242

merged 3 commits into from
Jan 5, 2023

Conversation

mkorbel1
Copy link
Contributor

@mkorbel1 mkorbel1 commented Jan 5, 2023

Description & Motivation

Dumping waves is too slow for large designs on long simulations! A lot of time was spent in File IO. This PR makes many fewer file operations by buffering it in a StringBuffer and only sending to the file once it reaches a large amount of data.

Also added a benchmark for the WaveDumper.

Related Issue(s)

N/A

Testing

New benchmark and existing tests

Backwards-compatibility

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

No, but VCD contents will update less frequently now

Documentation

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

No

@mkorbel1 mkorbel1 merged commit 49496b4 into intel:main Jan 5, 2023
@mkorbel1 mkorbel1 deleted the wavedumpopt branch January 5, 2023 23:36
quekyj pushed a commit to quekyj/rohd that referenced this pull request Jan 9, 2023
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.

1 participant