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

Wire up transient package resolution in scenarios; inject packages under their manifest alias into the user code; related fixes #1651

Closed sezna closed 1 week ago

sezna commented 1 week ago

Feel free to skip looking at this one if you are not @minestarks

github-actions[bot] commented 1 week ago

Change in memory usage detected by benchmark.

Memory Report for a417825bc6c9dfe5c05012d16dec6c36ae433a9b

Test This Branch On Main Difference
compile core + standard lib 16752960 bytes 16685480 bytes 67480 bytes
github-actions[bot] commented 1 week ago

Benchmark for a417825

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | **326.1±1.71µs** | 328.3±1.60µs | **+0.67%** | | Array literal evaluation | 185.9±1.51µs | **167.9±0.98µs** | **-9.68%** | | Array update evaluation | 407.4±1.77µs | **405.3±0.98µs** | **-0.52%** | | Core + Standard library compilation | 23.0±0.82ms | 22.4±0.64ms | -2.61% | | Deutsch-Jozsa evaluation | 5.1±0.05ms | 5.1±0.05ms | 0.00% | | Large file parity evaluation | 34.5±0.11ms | **34.0±0.31ms** | **-1.45%** | | Large input file compilation | 13.2±0.46ms | 13.1±0.44ms | -0.76% | | Large input file compilation (interpreter) | 52.6±2.03ms | 50.7±1.94ms | -3.61% | | Large nested iteration | 32.2±0.15ms | 32.3±0.33ms | +0.31% | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1589.4±99.30µs | 1575.5±89.61µs | -0.87% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 8.0±0.22ms | 7.9±0.17ms | -1.25% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1442.5±103.39µs | 1433.7±66.36µs | -0.61% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 28.6±0.27ms | 28.4±0.28ms | -0.70% | | Teleport evaluation | 91.8±3.81µs | **88.4±3.38µs** | **-3.70%** |
github-actions[bot] commented 1 week ago

Change in memory usage detected by benchmark.

Memory Report for 6211e4d9511e0bc328b004556af4d9b6442631d3

Test This Branch On Main Difference
compile core + standard lib 16752957 bytes 16685477 bytes 67480 bytes
github-actions[bot] commented 1 week ago

Benchmark for 6211e4d

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 327.6±2.58µs | 325.9±2.42µs | -0.52% | | Array literal evaluation | **169.1±1.97µs** | 187.4±7.99µs | **+10.82%** | | Array update evaluation | 406.4±2.22µs | **403.2±1.87µs** | **-0.79%** | | Core + Standard library compilation | 21.9±0.48ms | 22.2±0.99ms | +1.37% | | Deutsch-Jozsa evaluation | 5.1±0.06ms | 5.1±0.11ms | 0.00% | | Large file parity evaluation | 34.4±0.13ms | **33.9±0.08ms** | **-1.45%** | | Large input file compilation | 12.4±0.12ms | 12.4±0.10ms | 0.00% | | Large input file compilation (interpreter) | 47.7±0.77ms | 48.0±1.48ms | +0.63% | | Large nested iteration | 32.4±0.21ms | **32.0±0.24ms** | **-1.23%** | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1562.5±52.86µs | 1560.7±30.11µs | -0.12% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.9±0.19ms | 7.8±0.12ms | -1.27% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1418.2±47.13µs | 1419.2±31.52µs | +0.07% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 28.1±0.28ms | 28.3±0.34ms | +0.71% | | Teleport evaluation | 90.2±5.87µs | 87.4±3.59µs | -3.10% |
github-actions[bot] commented 1 week ago

Change in memory usage detected by benchmark.

Memory Report for 186adb4fe60cd1c646b9d5768874f9210edb0be7

Test This Branch On Main Difference
compile core + standard lib 16752957 bytes 16685477 bytes 67480 bytes
github-actions[bot] commented 1 week ago

Benchmark for 186adb4

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | **322.9±1.52µs** | 330.1±6.08µs | **+2.23%** | | Array literal evaluation | 188.1±3.12µs | 190.5±7.59µs | +1.28% | | Array update evaluation | 403.8±3.95µs | 405.1±1.87µs | +0.32% | | Core + Standard library compilation | 22.1±0.83ms | 21.8±0.56ms | -1.36% | | Deutsch-Jozsa evaluation | 5.1±0.10ms | 5.1±0.05ms | 0.00% | | Large file parity evaluation | 34.5±0.60ms | 34.2±0.55ms | -0.87% | | Large input file compilation | 13.1±0.45ms | **12.6±0.17ms** | **-3.82%** | | Large input file compilation (interpreter) | 52.1±2.25ms | **48.8±1.17ms** | **-6.33%** | | Large nested iteration | 32.3±0.16ms | **31.9±0.16ms** | **-1.24%** | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1570.6±36.43µs | 1559.8±31.59µs | -0.69% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | **7.8±0.10ms** | 7.9±0.09ms | **+1.28%** | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1428.5±37.03µs | 1420.0±34.37µs | -0.60% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 28.2±0.32ms | 28.2±0.18ms | 0.00% | | Teleport evaluation | 90.5±3.36µs | 88.7±3.21µs | -1.99% |
github-actions[bot] commented 1 week ago

Change in memory usage detected by benchmark.

Memory Report for a30924d05feaf6eee518142db31d544ca758bf75

Test This Branch On Main Difference
compile core + standard lib 16753373 bytes 16685477 bytes 67896 bytes
github-actions[bot] commented 1 week ago

Benchmark for a30924d

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 326.7±4.86µs | 329.4±6.20µs | +0.83% | | Array literal evaluation | 187.1±2.18µs | 186.9±2.28µs | -0.11% | | Array update evaluation | 407.2±4.23µs | 409.7±5.19µs | +0.61% | | Core + Standard library compilation | 24.0±0.62ms | 23.5±0.82ms | -2.08% | | Deutsch-Jozsa evaluation | 5.1±0.05ms | 5.1±0.07ms | 0.00% | | Large file parity evaluation | 34.7±0.34ms | **34.3±0.50ms** | **-1.15%** | | Large input file compilation | 13.7±0.33ms | 13.6±0.66ms | -0.73% | | Large input file compilation (interpreter) | 53.7±1.39ms | 54.9±2.38ms | +2.23% | | Large nested iteration | 32.4±0.17ms | 32.5±0.45ms | +0.31% | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1581.8±59.76µs | 1588.3±111.79µs | +0.41% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | **7.9±0.09ms** | 8.1±0.17ms | **+2.53%** | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1451.7±99.25µs | 1451.2±109.96µs | -0.03% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 28.7±0.23ms | 28.8±0.26ms | +0.35% | | Teleport evaluation | 91.0±5.56µs | 90.4±3.78µs | -0.66% |