Surfingkeys icon indicating copy to clipboard operation
Surfingkeys copied to clipboard

Performance Issue: Lag when there are many tabs after migrating to MV3

Open WzLYVg387U opened this issue 7 months ago • 0 comments

Chrome版本:136.0.7103.59,其他扩展已全部关闭 复现方法: 打开大量标签页(我测试时开了38个标签,平时日常会打开更多)添加自定义配置

api.map('t','on')

后测试单个按键和按键序列的触发速度,发现'on'远比't'要慢上太多

自行编译历史版本测试后发现,mv3前的最后一版(commit f152a9a831ed4c357f072a531400d62c226be974)不会出现该问题,而Nov 9, 2024的(commit 3485e1d4a6345878e225e653a03531a74f3f7719)则成功复现

Chrome Version: 136.0.7103.59, with all other extensions disabled Steps to Reproduce: Open a large number of tabs (I tested with 38 tabs, but I usually have more open in my daily usage). Add the following custom configurations:

api.map('t', 'on')

Afterward, test the trigger speed for individual keys and key sequences. I noticed that the trigger for 'on' is significantly slower than 't'.

Additional Information:

I tested previous versions by building them from source and found that the latest version before MV3 (commit f152a9a831ed4c357f072a531400d62c226be974) does not exhibit this issue.

However, the issue is reproducible in the version from November 9, 2024 (commit 3485e1d4a6345878e225e653a03531a74f3f7719).

WzLYVg387U avatar May 11 '25 16:05 WzLYVg387U