kkebo / zyphy

Zyphy is (or will be) a fast web browser engine written in Swift.
MIT License
4 stars 1 forks source link

perf: make `Token` non-copyable #103

Closed kkebo closed 1 week ago

github-actions[bot] commented 1 month ago

Code Metrics Report

main (2046b8e) #103 (bb5ae33) +/-
Coverage 85.2% 85.0% -0.3%
Details ``` diff | | main (2046b8e) | #103 (bb5ae33) | +/- | |-----------|----------------|----------------|-------| - | Coverage | 85.2% | 85.0% | -0.3% | | Files | 9 | 9 | 0 | | Lines | 1587 | 1599 | +12 | + | Covered | 1353 | 1360 | +7 | ```

Reported by octocov

github-actions[bot] commented 3 weeks ago

Code Metrics Report

main (f6e9964) #103 (90d8cc1) +/-
Coverage 85.3% 85.4% +0.1%
Details ``` diff | | main (f6e9964) | #103 (90d8cc1) | +/- | |-----------|----------------|----------------|-------| + | Coverage | 85.3% | 85.4% | +0.1% | | Files | 9 | 9 | 0 | | Lines | 1586 | 1584 | -2 | + | Covered | 1353 | 1354 | +1 | ```

Reported by octocov

github-actions[bot] commented 1 week ago

Code Metrics Report

main (ececd70) #103 (8f114bd) +/-
Coverage 85.1% 85.6% +0.5%
Details ``` diff | | main (ececd70) | #103 (8f114bd) | +/- | |-----------|----------------|----------------|-------| + | Coverage | 85.1% | 85.6% | +0.5% | | Files | 9 | 9 | 0 | | Lines | 1599 | 1583 | -16 | - | Covered | 1361 | 1356 | -5 | ```

Reported by octocov

github-actions[bot] commented 1 week ago

Code Metrics Report

main (ececd70) #103 (1ef7e60) +/-
Coverage 85.1% 85.2% +0.1%
Details ``` diff | | main (ececd70) | #103 (1ef7e60) | +/- | |-----------|----------------|----------------|-------| + | Coverage | 85.1% | 85.2% | +0.1% | | Files | 9 | 9 | 0 | | Lines | 1599 | 1591 | -8 | - | Covered | 1361 | 1357 | -4 | ```

Reported by octocov

kkebo commented 1 week ago

Comparing results between 'main' and 'Current_run'

Host 'Raspberry-beetle' with 4 'aarch64' processors with 7 GB memory, running:
#1 SMP PREEMPT Debian 1:6.6.47-1+rpt1 (2024-09-02)

MyBenchmark

lipsum metrics

Time (wall clock): results within specified thresholds, fold down for details.

| Time (wall clock) (μs) * | p0 | p25 | p50 | p75 | p90 | p99 | p100 | Samples | |:----------------------------------------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:| | main | 22 | 22 | 22 | 22 | 22 | 22 | 22 | 100 | | Current_run | 22 | 22 | 22 | 22 | 23 | 23 | 23 | 100 | | Δ | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | | Improvement % | 0 | 0 | 0 | 0 | -5 | -5 | -5 | 0 |

lipsum-zh metrics

Time (wall clock): results within specified thresholds, fold down for details.

| Time (wall clock) (ns) * | p0 | p25 | p50 | p75 | p90 | p99 | p100 | Samples | |:----------------------------------------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:| | main | 2865 | 2871 | 2882 | 2894 | 2898 | 2994 | 2994 | 100 | | Current_run | 2828 | 2834 | 2836 | 2841 | 2849 | 2914 | 2939 | 100 | | Δ | -37 | -37 | -46 | -53 | -49 | -80 | -55 | 0 | | Improvement % | 1 | 1 | 2 | 2 | 2 | 3 | 2 | 0 |

medium-fragment metrics

Time (wall clock): results within specified thresholds, fold down for details.

| Time (wall clock) (μs) * | p0 | p25 | p50 | p75 | p90 | p99 | p100 | Samples | |:----------------------------------------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:| | main | 68 | 68 | 68 | 68 | 68 | 68 | 69 | 100 | | Current_run | 63 | 63 | 63 | 63 | 63 | 63 | 63 | 100 | | Δ | -5 | -5 | -5 | -5 | -5 | -5 | -6 | 0 | | Improvement % | 7 | 7 | 7 | 7 | 7 | 7 | 9 | 0 |

small-fragment metrics

Time (wall clock): results within specified thresholds, fold down for details.

| Time (wall clock) (ns) * | p0 | p25 | p50 | p75 | p90 | p99 | p100 | Samples | |:----------------------------------------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:| | main | 7145 | 7156 | 7160 | 7176 | 7188 | 7242 | 7440 | 100 | | Current_run | 6819 | 6832 | 6836 | 6844 | 6853 | 6898 | 6908 | 100 | | Δ | -326 | -324 | -324 | -332 | -335 | -344 | -532 | 0 | | Improvement % | 5 | 5 | 5 | 5 | 5 | 5 | 7 | 0 |

strong metrics

Time (wall clock): results within specified thresholds, fold down for details.

| Time (wall clock) (μs) * | p0 | p25 | p50 | p75 | p90 | p99 | p100 | Samples | |:----------------------------------------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:| | main | 33 | 33 | 33 | 33 | 33 | 33 | 33 | 100 | | Current_run | 32 | 33 | 33 | 33 | 33 | 33 | 33 | 100 | | Δ | -1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | Improvement % | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |

tiny-fragment metrics

Time (wall clock): results within specified thresholds, fold down for details.

| Time (wall clock) (ns) * | p0 | p25 | p50 | p75 | p90 | p99 | p100 | Samples | |:----------------------------------------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:|--------:| | main | 675 | 676 | 677 | 679 | 681 | 698 | 703 | 100 | | Current_run | 656 | 659 | 661 | 663 | 664 | 672 | 815 | 100 | | Δ | -19 | -17 | -16 | -16 | -17 | -26 | 112 | 0 | | Improvement % | 3 | 3 | 2 | 2 | 2 | 4 | -16 | 0 |