Skip to content

perf(static-cmp): Static resource matching optimization#112

Merged
Qianlitp merged 4 commits intoQianlitp:masterfrom
PIGfaces:master
Jul 7, 2022
Merged

perf(static-cmp): Static resource matching optimization#112
Qianlitp merged 4 commits intoQianlitp:masterfrom
PIGfaces:master

Conversation

@PIGfaces
Copy link
Copy Markdown
Contributor

@PIGfaces PIGfaces commented Jul 1, 2022

改动说明

主要修复 #106 和代码优化

  • 代码优化
    • 减少内存分配
    • 降低时间复杂度
    • 去掉阻塞 goroutinue
  • Bug 修复

Copy link
Copy Markdown
Contributor Author

@PIGfaces PIGfaces left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 更新了 chromdp 依赖库,执行导航页使用了优化后的原方式
  • 去掉了无意义的阻塞 goroutine

@Qianlitp
Copy link
Copy Markdown
Owner

Qianlitp commented Jul 6, 2022

为什么要删除隐身模式选项呢

@PIGfaces
Copy link
Copy Markdown
Contributor Author

PIGfaces commented Jul 7, 2022

为什么要删除隐身模式选项呢

在测试过程中发现创建了隐身模式上下文但其实并没有生效,在 chromedp 中也有人提出过对应的 ISSUE: chromedp/chromedp#997 (comment)

@Qianlitp Qianlitp merged commit 5bd29ce into Qianlitp:master Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants