You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've already fixed the last two (hydration) in #4996. For select-row, though, a git bisect revealed that #4468 was the source of the regression.
This is a bit surprising since this PR was supposed to be a perf improvement. Perhaps it improved perf in some benchmarks but regressed this one. We should do some analysis to see if overall this change is still worth it, or if there is some way to further optimize it.
git bisect script
#!/usr/bin/env bashset -e
set -x
yarn
BENCHMARK_REF=86682ec8329eab989a6c9fd8a71eaf447e431eab BENCHMARK_SAMPLE_SIZE=400 BENCHMARK_TIMEOUT=60 yarn build:performance
cd packages/@lwc/perf-benchmarks
node ../../../node_modules/.bin/tach --config ./dist/__benchmarks__/engine-dom/js-framework-benchmark/select-row-1k.tachometer.json --json-file /tmp/bench.json
cd ../../..
highNum=$(cat /tmp/bench.json | jq .benchmarks[0].differences[1].percentChange.high | tr '.'''| awk '{print $1}')
lowNum=$(cat /tmp/bench.json | jq .benchmarks[0].differences[1].percentChange.low | tr '.'''| awk '{print $1}')echo"Numbers are $lowNum to $highNum"if(($highNum>=2));thenif(($lowNum>=0));thenecho"Fail"exit 1;fifiecho"Success"
(I manually checked the git bisect run results, and yes, this script worked correctly.)
The text was updated successfully, but these errors were encountered:
I did a Tachometer analysis of
master
vs the LWC version released for 252 (86682ec, v7.1.5).Click to see
<style type="text/css"></style>
We've already fixed the last two (hydration) in #4996. For
select-row
, though, agit bisect
revealed that #4468 was the source of the regression.This is a bit surprising since this PR was supposed to be a perf improvement. Perhaps it improved perf in some benchmarks but regressed this one. We should do some analysis to see if overall this change is still worth it, or if there is some way to further optimize it.
git bisect
script(I manually checked the
git bisect run
results, and yes, this script worked correctly.)The text was updated successfully, but these errors were encountered: