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

Option to load custom RE parameters in DF chemistry sample #1662

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

msoeken
Copy link
Member

@msoeken msoeken commented Jun 24, 2024

This adds a program argument -p (long --paramsfile) to the Python script of the DF chemistry sample to have the option to load one or multiple RE configurations that are stored as objects or arrays in JSON files. If no such argument is specified, the default configuration is used as before.

This addresses the second bullet point in #1115.

Copy link

Benchmark for f9a68d3

Click to view benchmark
Test Base PR %
Array append evaluation 331.0±3.60µs 328.8±1.79µs -0.66%
Array literal evaluation 198.6±0.83µs 181.9±7.59µs -8.41%
Array update evaluation 414.2±11.15µs 412.4±10.60µs -0.43%
Core + Standard library compilation 21.5±0.94ms 22.7±1.05ms +5.58%
Deutsch-Jozsa evaluation 5.1±0.04ms 5.1±0.08ms 0.00%
Large file parity evaluation 34.0±0.06ms 34.2±0.88ms +0.59%
Large input file compilation 13.3±0.54ms 13.8±0.57ms +3.76%
Large input file compilation (interpreter) 52.4±2.12ms 53.8±1.98ms +2.67%
Large nested iteration 32.2±1.08ms 32.2±1.03ms 0.00%
Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample 1587.3±68.70µs 1573.6±34.17µs -0.86%
Perform Runtime Capabilities Analysis (RCA) on large file sample 8.0±0.16ms 7.9±0.16ms -1.25%
Perform Runtime Capabilities Analysis (RCA) on teleport sample 1451.4±75.10µs 1435.2±55.77µs -1.12%
Perform Runtime Capabilities Analysis (RCA) on the core and std libraries 28.3±0.28ms 28.4±0.53ms +0.35%
Teleport evaluation 90.5±3.68µs 90.3±3.81µs -0.22%

@msoeken msoeken added this pull request to the merge queue Jun 26, 2024
Merged via the queue into main with commit 70239b2 Jun 26, 2024
16 checks passed
@msoeken msoeken deleted the msoeken/chemistry-params-arg branch June 26, 2024 17:18
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.

3 participants