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

Sccarda/struct lints #1654

Closed ScottCarda-MS closed 4 days ago

github-actions[bot] commented 1 week ago

Benchmark for de15a59

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | **326.5±2.81µs** | 336.2±10.56µs | **+2.97%** | | Array literal evaluation | **178.4±9.47µs** | 192.4±1.51µs | **+7.85%** | | Array update evaluation | **410.3±3.57µs** | 418.0±12.54µs | **+1.88%** | | Core + Standard library compilation | **20.0±0.16ms** | 21.2±1.56ms | **+6.00%** | | Deutsch-Jozsa evaluation | 5.1±0.06ms | 5.1±0.06ms | 0.00% | | Large file parity evaluation | 34.5±0.27ms | **34.2±0.54ms** | **-0.87%** | | Large input file compilation | **12.2±0.13ms** | 12.5±0.55ms | **+2.46%** | | Large input file compilation (interpreter) | **48.4±1.59ms** | 50.4±2.44ms | **+4.13%** | | Large nested iteration | **32.1±1.21ms** | 33.2±0.93ms | **+3.43%** | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1567.2±28.64µs | 1564.2±33.97µs | -0.19% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.9±0.09ms | 7.9±0.09ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1429.4±32.72µs | 1425.0±29.93µs | -0.31% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 27.8±0.16ms | 27.9±0.27ms | +0.36% | | Teleport evaluation | 89.7±5.44µs | 90.7±3.40µs | +1.11% |
github-actions[bot] commented 1 week ago

Benchmark for 588f931

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 329.7±18.75µs | 334.0±6.89µs | +1.30% | | Array literal evaluation | 174.7±0.92µs | **172.5±2.41µs** | **-1.26%** | | Array update evaluation | **406.6±2.27µs** | 413.7±5.63µs | **+1.75%** | | Core + Standard library compilation | **20.9±0.62ms** | 22.6±0.62ms | **+8.13%** | | Deutsch-Jozsa evaluation | **5.1±0.06ms** | 5.2±0.06ms | **+1.96%** | | Large file parity evaluation | 34.2±0.13ms | **34.0±0.51ms** | **-0.58%** | | Large input file compilation | **12.7±0.20ms** | 13.9±0.55ms | **+9.45%** | | Large input file compilation (interpreter) | **49.5±0.86ms** | 53.0±1.85ms | **+7.07%** | | Large nested iteration | 32.4±0.14ms | 32.4±0.19ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1582.4±83.96µs | 1568.3±69.30µs | -0.89% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.9±0.15ms | **7.8±0.10ms** | **-1.27%** | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1452.7±98.96µs | 1439.8±76.79µs | -0.89% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | **28.0±0.26ms** | 28.5±0.22ms | **+1.79%** | | Teleport evaluation | 90.3±3.90µs | 91.7±3.37µs | +1.55% |
github-actions[bot] commented 1 week ago

Benchmark for 9a1b312

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 332.3±8.35µs | 331.4±5.04µs | -0.27% | | Array literal evaluation | **181.1±1.63µs** | 186.4±1.25µs | **+2.93%** | | Array update evaluation | 412.1±1.69µs | **410.2±15.09µs** | **-0.46%** | | Core + Standard library compilation | 20.1±0.40ms | 20.2±0.30ms | +0.50% | | Deutsch-Jozsa evaluation | 5.1±0.12ms | 5.1±0.05ms | 0.00% | | Large file parity evaluation | 34.0±0.48ms | 34.2±0.57ms | +0.59% | | Large input file compilation | 12.4±0.38ms | 12.5±0.29ms | +0.81% | | Large input file compilation (interpreter) | 49.1±1.33ms | 49.6±1.00ms | +1.02% | | Large nested iteration | 32.0±0.68ms | 31.9±0.21ms | -0.31% | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1571.1±38.47µs | 1573.2±77.94µs | +0.13% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | **7.8±0.10ms** | 8.0±0.32ms | **+2.56%** | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1432.0±35.56µs | 1432.5±53.98µs | +0.03% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 28.1±0.26ms | 28.0±0.80ms | -0.36% | | Teleport evaluation | 89.4±3.76µs | 89.6±3.80µs | +0.22% |
github-actions[bot] commented 1 week ago

Benchmark for 0ec515c

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | **327.2±2.45µs** | 332.0±3.86µs | **+1.47%** | | Array literal evaluation | **184.3±3.61µs** | 195.6±1.41µs | **+6.13%** | | Array update evaluation | 410.6±4.01µs | 410.5±3.84µs | -0.02% | | Core + Standard library compilation | **19.9±0.18ms** | 21.8±1.44ms | **+9.55%** | | Deutsch-Jozsa evaluation | 5.1±0.06ms | 5.1±0.06ms | 0.00% | | Large file parity evaluation | **33.9±0.07ms** | 34.1±0.19ms | **+0.59%** | | Large input file compilation | 13.0±0.69ms | **12.1±0.15ms** | **-6.92%** | | Large input file compilation (interpreter) | 48.1±0.88ms | 47.6±0.99ms | -1.04% | | Large nested iteration | 31.9±0.31ms | 32.2±1.05ms | +0.94% | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1565.3±41.58µs | 1553.1±45.94µs | -0.78% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | **7.8±0.08ms** | 7.9±0.11ms | **+1.28%** | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1421.3±35.98µs | 1411.0±40.06µs | -0.72% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | **27.9±0.26ms** | 28.4±0.46ms | **+1.79%** | | Teleport evaluation | 90.4±3.69µs | 90.9±5.78µs | +0.55% |
github-actions[bot] commented 1 week ago

Benchmark for 4217f1c

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | **329.3±2.87µs** | 336.9±1.97µs | **+2.31%** | | Array literal evaluation | 181.6±1.57µs | **178.1±0.92µs** | **-1.93%** | | Array update evaluation | 414.2±3.10µs | 412.2±2.08µs | -0.48% | | Core + Standard library compilation | 20.0±0.58ms | 20.0±0.20ms | 0.00% | | Deutsch-Jozsa evaluation | **5.1±0.06ms** | 5.2±0.05ms | **+1.96%** | | Large file parity evaluation | **34.0±0.21ms** | 34.7±0.33ms | **+2.06%** | | Large input file compilation | **12.1±0.21ms** | 12.5±0.47ms | **+3.31%** | | Large input file compilation (interpreter) | 48.9±1.65ms | 49.0±2.37ms | +0.20% | | Large nested iteration | **32.2±0.36ms** | 33.8±2.27ms | **+4.97%** | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1569.0±37.64µs | 1558.7±45.16µs | -0.66% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | 7.8±0.14ms | 7.9±0.16ms | +1.28% | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1438.3±36.26µs | 1414.0±30.95µs | -1.69% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 28.2±0.36ms | 28.0±0.20ms | -0.71% | | Teleport evaluation | 90.2±3.41µs | 90.5±4.57µs | +0.33% |
github-actions[bot] commented 1 week ago

Benchmark for 605d3fa

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | **332.0±3.92µs** | 336.4±6.53µs | **+1.33%** | | Array literal evaluation | 199.2±3.97µs | **192.1±13.60µs** | **-3.56%** | | Array update evaluation | **414.3±6.24µs** | 418.4±2.73µs | **+0.99%** | | Core + Standard library compilation | 21.4±0.87ms | 21.0±0.63ms | -1.87% | | Deutsch-Jozsa evaluation | **5.1±0.20ms** | 5.3±0.12ms | **+3.92%** | | Large file parity evaluation | **34.0±0.08ms** | 34.7±0.26ms | **+2.06%** | | Large input file compilation | **12.6±0.44ms** | 13.4±0.66ms | **+6.35%** | | Large input file compilation (interpreter) | **49.6±1.68ms** | 53.1±2.04ms | **+7.06%** | | Large nested iteration | 32.3±0.80ms | 32.8±0.61ms | +1.55% | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1591.8±82.33µs | 1576.1±79.54µs | -0.99% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | **8.0±0.21ms** | 8.3±0.17ms | **+3.75%** | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1432.3±44.47µs | 1466.8±77.86µs | +2.41% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | 28.7±0.67ms | 28.8±1.67ms | +0.35% | | Teleport evaluation | 89.8±3.75µs | 91.3±3.51µs | +1.67% |
github-actions[bot] commented 1 week ago

Benchmark for 2ca61bc

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Array append evaluation | 328.4±5.28µs | 327.8±1.81µs | -0.18% | | Array literal evaluation | 181.3±1.93µs | **172.4±1.56µs** | **-4.91%** | | Array update evaluation | 410.7±3.62µs | 412.7±9.69µs | +0.49% | | Core + Standard library compilation | **20.1±0.14ms** | 21.2±0.94ms | **+5.47%** | | Deutsch-Jozsa evaluation | 5.1±0.04ms | 5.1±0.05ms | 0.00% | | Large file parity evaluation | **34.3±0.12ms** | 34.8±0.39ms | **+1.46%** | | Large input file compilation | 12.3±0.10ms | 12.3±0.21ms | 0.00% | | Large input file compilation (interpreter) | **49.4±1.10ms** | 51.3±1.44ms | **+3.85%** | | Large nested iteration | 32.1±0.51ms | 32.1±0.51ms | 0.00% | | Perform Runtime Capabilities Analysis (RCA) on Deutsch-Jozsa sample | 1579.2±91.38µs | 1573.8±50.06µs | -0.34% | | Perform Runtime Capabilities Analysis (RCA) on large file sample | **7.8±0.10ms** | 7.9±0.11ms | **+1.28%** | | Perform Runtime Capabilities Analysis (RCA) on teleport sample | 1425.4±53.00µs | 1430.3±65.34µs | +0.34% | | Perform Runtime Capabilities Analysis (RCA) on the core and std libraries | **28.1±0.25ms** | 28.5±0.41ms | **+1.42%** | | Teleport evaluation | 91.4±7.26µs | 89.1±3.69µs | -2.52% |
ScottCarda-MS commented 4 days ago

Closed in favor of #1660