microsoft / qsharp

Azure Quantum Development Kit, including the Q# programming language, resource estimator, and Quantum Katas
https://microsoft.github.io/qsharp/
MIT License
367 stars 73 forks source link

Run RCA on interpreter creation and propagate errors #1560

Closed idavis closed 1 month ago

github-actions[bot] commented 1 month ago

Benchmark for 9359082

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | **334.0±2.78µs** | 337.3±6.57µs | **+0.99%** | | Array literal evaluation | **189.6±0.97µs** | 192.8±1.71µs | **+1.69%** | | Array update evaluation | **414.4±2.28µs** | 417.2±2.62µs | **+0.68%** | | Core + Standard library compilation | 18.7±0.26ms | 18.8±0.55ms | +0.53% | | Deutsch-Jozsa evaluation | 5.1±0.04ms | 5.1±0.04ms | 0.00% | | Large file parity evaluation | **33.9±0.07ms** | 34.0±0.46ms | **+0.29%** | | Large input file compilation | 12.7±0.38ms | 12.8±0.31ms | +0.79% | | Large input file compilation (interpreter) | **45.6±0.62ms** | 48.0±1.22ms | **+5.26%** | | Large nested iteration | **32.8±0.14ms** | 33.0±0.36ms | **+0.61%** | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | **1561.2±27.56µs** | 1607.5±165.88µs | **+2.97%** | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.8±0.11ms | 7.8±0.14ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1425.1±30.80µs | 1430.1±31.56µs | +0.35% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | **27.8±0.17ms** | 28.0±0.41ms | **+0.72%** | | Teleport evaluation | 89.2±3.67µs | 89.4±8.72µs | +0.22% |