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

Residualized Intermediate Representation (RIR) #1292

Merged
merged 3 commits into from
Mar 22, 2024

Conversation

cesarzc
Copy link
Contributor

@cesarzc cesarzc commented Mar 21, 2024

No description provided.

Copy link

Benchmark for de7d77a

Click to view benchmark
Test Base PR %
Array append evaluation 331.5±7.43µs 333.8±3.10µs +0.69%
Array literal evaluation 189.7±1.44µs 190.8±6.12µs +0.58%
Array update evaluation 410.2±2.38µs 415.6±2.42µs +1.32%
Deutsch-Jozsa evaluation 5.0±0.04ms 5.0±0.10ms 0.00%
Large file parity evaluation 33.7±0.11ms 33.8±0.44ms +0.30%
Large input file 31.5±1.90ms 32.5±1.78ms +3.17%
Large nested iteration 32.6±0.35ms 32.8±0.34ms +0.61%
Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample 1585.4±119.46µs 1574.8±109.91µs -0.67%
Perform Runtime Capabilities Analysis (RCA) on large file sample 7.8±0.11ms 8.0±0.28ms +2.56%
Perform Runtime Capabilities Analysis (RCA) on teleport sample 1481.1±101.19µs 1507.5±80.08µs +1.78%
Perform Runtime Capabilities Analysis (RCA) on the core and std libraries 26.0±0.47ms 26.3±0.43ms +1.15%
Standard library 17.4±0.73ms 17.6±0.75ms +1.15%
Teleport evaluation 70.3±1.73µs 70.6±1.45µs +0.43%

@cesarzc cesarzc mentioned this pull request Mar 21, 2024
64 tasks
@cesarzc cesarzc marked this pull request as ready for review March 22, 2024 05:37
Copy link

Benchmark for 8054d99

Click to view benchmark
Test Base PR %
Array append evaluation 329.9±3.93µs 330.7±3.05µs +0.24%
Array literal evaluation 196.0±1.62µs 204.6±3.81µs +4.39%
Array update evaluation 412.1±3.54µs 414.2±1.42µs +0.51%
Deutsch-Jozsa evaluation 5.2±0.05ms 5.3±0.07ms +1.92%
Large file parity evaluation 33.6±0.06ms 33.8±0.71ms +0.60%
Large input file 29.9±0.84ms 30.2±1.54ms +1.00%
Large nested iteration 32.2±0.36ms 32.3±0.23ms +0.31%
Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample 1544.4±65.24µs 1593.5±97.98µs +3.18%
Perform Runtime Capabilities Analysis (RCA) on large file sample 7.8±0.09ms 7.8±0.08ms 0.00%
Perform Runtime Capabilities Analysis (RCA) on teleport sample 1481.3±86.66µs 1521.8±92.39µs +2.73%
Perform Runtime Capabilities Analysis (RCA) on the core and std libraries 25.7±0.15ms 25.8±0.18ms +0.39%
Standard library 16.8±0.43ms 16.7±0.27ms -0.60%
Teleport evaluation 82.0±4.11µs 82.0±4.12µs 0.00%

Copy link
Collaborator

@swernli swernli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just needs a couple tweaks!

compiler/qsc_rir/src/lib.rs Outdated Show resolved Hide resolved
compiler/qsc_rir/src/rir.rs Show resolved Hide resolved
Copy link

Benchmark for 0b101c1

Click to view benchmark
Test Base PR %
Array append evaluation 335.5±3.79µs 340.7±8.55µs +1.55%
Array literal evaluation 196.1±1.88µs 176.9±1.42µs -9.79%
Array update evaluation 414.3±8.37µs 419.7±7.57µs +1.30%
Deutsch-Jozsa evaluation 5.2±0.05ms 5.2±0.06ms 0.00%
Large file parity evaluation 33.7±0.10ms 33.8±0.35ms +0.30%
Large input file 30.9±1.66ms 30.2±1.13ms -2.27%
Large nested iteration 32.4±0.39ms 32.7±0.12ms +0.93%
Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample 1547.1±77.34µs 1584.1±87.36µs +2.39%
Perform Runtime Capabilities Analysis (RCA) on large file sample 7.8±0.07ms 7.8±0.12ms 0.00%
Perform Runtime Capabilities Analysis (RCA) on teleport sample 1474.3±82.29µs 1520.3±92.30µs +3.12%
Perform Runtime Capabilities Analysis (RCA) on the core and std libraries 25.8±0.77ms 25.7±0.14ms -0.39%
Standard library 17.1±0.66ms 16.9±0.47ms -1.17%
Teleport evaluation 81.6±4.17µs 81.7±4.12µs +0.12%

@cesarzc cesarzc added this pull request to the merge queue Mar 22, 2024
Merged via the queue into main with commit 70c66df Mar 22, 2024
16 checks passed
@cesarzc cesarzc deleted the cesarzc/residualized-intermediate-representation branch March 22, 2024 18:14
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.

2 participants