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

Respect configured target profile for histogram in VS Code #1565

Closed swernli closed 1 month ago

swernli commented 1 month ago

This updates the call to run to that is used by the histogram feature to take the current target profile, such that histograms in the VS Code extension correctly compile the code with the configured target.

github-actions[bot] commented 1 month ago

Benchmark for e2e8605

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 337.6±5.54µs | **326.0±1.80µs** | **-3.44%** | | Array literal evaluation | 193.4±0.77µs | **191.5±2.95µs** | **-0.98%** | | Array update evaluation | 418.7±5.00µs | **409.7±1.99µs** | **-2.15%** | | Core + Standard library compilation | 23.2±2.04ms | 22.6±1.51ms | -2.59% | | Deutsch-Jozsa evaluation | 5.1±0.05ms | 5.1±0.06ms | 0.00% | | Large file parity evaluation | **34.1±0.09ms** | 34.3±0.64ms | **+0.59%** | | Large input file compilation | 15.0±1.10ms | 15.2±0.86ms | +1.33% | | Large input file compilation (interpreter) | 52.0±2.44ms | 52.6±1.94ms | +1.15% | | Large nested iteration | 33.9±2.42ms | **32.5±0.19ms** | **-4.13%** | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1657.7±228.90µs | 1668.4±180.34µs | +0.65% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 8.3±0.27ms | 8.3±0.24ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | **1434.8±46.41µs** | 1497.6±138.06µs | **+4.38%** | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 28.8±0.59ms | 28.9±0.46ms | +0.35% | | Teleport evaluation | 89.2±4.73µs | 89.8±3.77µs | +0.67% |