Closed JoviDeCroock closed 3 months ago
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 866.04ms - 872.89ms | - | unsure đ -1% - +0% -11.43ms - +2.83ms |
preact-main | 867.51ms - 880.02ms | unsure đ -0% - +1% -2.83ms - +11.43ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 25.15ms - 25.15ms | - | unsure đ -0% - +0% -0.00ms - +0.00ms |
preact-main | 25.15ms - 25.15ms | unsure đ -0% - +0% -0.00ms - +0.00ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 16.65ms - 17.07ms | - | unsure đ -3% - +2% -0.57ms - +0.33ms |
preact-main | 16.58ms - 17.38ms | unsure đ -2% - +3% -0.33ms - +0.57ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 1.69ms - 1.69ms | - | unsure đ -0% - +0% -0.00ms - +0.00ms |
preact-main | 1.69ms - 1.69ms | unsure đ -0% - +0% -0.00ms - +0.00ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 68.84ms - 72.11ms | - | unsure đ -5% - +3% -3.31ms - +1.99ms |
preact-main | 69.04ms - 73.22ms | unsure đ -3% - +5% -1.99ms - +3.31ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 13.13ms - 13.59ms | - | unsure đ -2% - +2% -0.30ms - +0.30ms |
preact-main | 13.17ms - 13.54ms | unsure đ -2% - +2% -0.30ms - +0.30ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 18.18ms - 18.71ms | - | unsure đ -2% - +2% -0.33ms - +0.31ms |
preact-main | 18.28ms - 18.63ms | unsure đ -2% - +2% -0.31ms - +0.33ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 4.61ms - 4.61ms | - | unsure đ -0% - +0% -0.00ms - +0.00ms |
preact-main | 4.61ms - 4.61ms | unsure đ -0% - +0% -0.00ms - +0.00ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 81.45ms - 84.07ms | - | unsure đ -3% - +1% -2.43ms - +1.15ms |
preact-main | 82.18ms - 84.62ms | unsure đ -1% - +3% -1.15ms - +2.43ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 3.54ms - 3.57ms | - | unsure đ -0% - +1% -0.01ms - +0.04ms |
preact-main | 3.52ms - 3.56ms | unsure đ -1% - +0% -0.04ms - +0.01ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 29.89ms - 30.45ms | - | unsure đ -1% - +1% -0.42ms - +0.42ms |
preact-main | 29.86ms - 30.49ms | unsure đ -1% - +1% -0.42ms - +0.42ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 35.42ms - 37.48ms | - | unsure đ -3% - +4% -1.26ms - +1.52ms |
preact-main | 35.40ms - 37.26ms | unsure đ -4% - +3% -1.52ms - +1.26ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 27.11ms - 27.59ms | - | unsure đ -1% - +2% -0.26ms - +0.43ms |
preact-main | 27.01ms - 27.51ms | unsure đ -2% - +1% -0.43ms - +0.26ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 33.72ms - 35.66ms | - | unsure đ -3% - +4% -1.06ms - +1.45ms |
preact-main | 33.70ms - 35.29ms | unsure đ -4% - +3% -1.45ms - +1.06ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 22.60ms - 24.33ms | - | unsure đ -1% - +8% -0.30ms - +1.81ms |
preact-main | 22.10ms - 23.32ms | unsure đ -8% - +1% -1.81ms - +0.30ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 25.30ms - 26.55ms | - | unsure đ -2% - +5% -0.51ms - +1.30ms |
preact-main | 24.87ms - 26.18ms | unsure đ -5% - +2% -1.30ms - +0.51ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 1.95ms - 2.06ms | - | unsure đ -5% - +3% -0.10ms - +0.06ms |
preact-main | 1.96ms - 2.08ms | unsure đ -3% - +5% -0.06ms - +0.10ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 0.98ms - 0.98ms | - | unsure đ +0% - +0% +0.00ms - +0.00ms |
preact-main | 0.98ms - 0.98ms | unsure đ -0% - -0% -0.00ms - -0.00ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 25.59ms - 25.75ms | - | faster â 4% - 7% 1.11ms - 1.92ms |
preact-main | 26.79ms - 27.58ms | slower â 4% - 7% 1.11ms - 1.92ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 1.25ms - 1.25ms | - | unsure đ -0% - -0% -0.00ms - -0.00ms |
preact-main | 1.25ms - 1.25ms | unsure đ +0% - +0% +0.00ms - +0.00ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 35.18ms - 36.07ms | - | unsure đ -4% - +2% -1.43ms - +0.65ms |
preact-main | 35.08ms - 36.96ms | unsure đ -2% - +4% -0.65ms - +1.43ms | - |
Version | Avg time | vs preact-local | vs preact-main |
---|---|---|---|
preact-local | 3.55ms - 3.55ms | - | unsure đ -0% - -0% -0.00ms - -0.00ms |
preact-main | 3.55ms - 3.55ms | unsure đ +0% - +0% +0.00ms - +0.00ms | - |
Size Change: +39 B (+0.06%)
Total Size: 61.8 kB
Filename | Size | Change |
---|---|---|
dist/preact.js |
4.68 kB | +7 B (+0.15%) |
dist/preact.min.js |
4.71 kB | +6 B (+0.13%) |
dist/preact.min.module.js |
4.71 kB | +6 B (+0.13%) |
dist/preact.min.umd.js |
4.74 kB | +6 B (+0.13%) |
dist/preact.module.js |
4.7 kB | +9 B (+0.19%) |
dist/preact.umd.js |
4.75 kB | +5 B (+0.11%) |
isConnected
is not present on text nodes, this prevents us from crashing due to callinggetDomSibling
for a text node. This does highlight that Google Translate leads to a bug, in the example given in https://github.com/preactjs/preact/pull/4318#issuecomment-2168889078 we get the following as outputThis is translated to Dutch, as you can see the
h1
and the firsthello
reconcile correctly, however everything after the interpolated{label}
does not.When I replace
{props.label}
with a normal string or with<span>{props.label}</span>
it does work correctly.This does however not solve the other issue mentioned on this PR, which does not have a way to reproduce. I reckon that one could be related to the dom-sibling of
oldVNode
also not beingconnected
due to removing a lot of fragment-like wrapped children andoldDom
being captured to the first of said list.