type
status
date
slug
summary
tags
category
password
Date
Free
Free
Link
xhsContent
Price
xhsTitle
🌈 I feel
icon

👟 Articles


📖 Title: Node.js multithreading with worker threads series: worker_threads tutorial
👍 Some Contents
notion image
💡
Node.js中使用worker_threads来做多线程架构
 
📖 Title: How to split JavaScript strings into sentences, words or graphemes with "Intl.Segmenter"
👍 Some Contents
notion image
💡
"Intl.Segmenter"web分词分句API
 
📖 Title: Document Object Model (DOM) Geometry: A Beginner’s Introduction And Guide
👍 Some Contents
notion image
notion image
notion image
💡
clientWidth/Height不包括边框;
📖 Title: 5 Ways to promote ‘Out Of The Box’ thinking as a Developer
👍 Some Contents
  • Make Problem-Solving Your Hobby
  • Lie Under the Hood 👷‍♀️
  • Let Your Crazy Ideas Come Out Through Brainstorming 🧠
  • Control Your Shaky Assumptions 🙅‍♀️
  • Distractions Are Not Always Obstructions
💡
把解决问题当成习惯,不止工作中而且生活中; 时间允许的话深入问题的本质,从另一个视角看问题; 解决问题的思路不要和创造的时候一个思路; 分散注意力有时候不是分散,而是发散;马桶上有时候比工位上更能解决问题;
 
📖 Title: Improving React Interaction Times by 4x
👍 Some Contents
notion image
💡
通过performance 调试,使用fps验收,善用useWhyDidYouUpdate、deepCompare log等其他工具等; performance找到渲染的组件,再通过react profile小分析; 对于第三方使用yarn patch去解决问题,避免不必要的渲染,巧用hack,
notion image
对于二进制编码的使用protobuf解析转移到worker后发现序列化与反序列化成本更高,因为模型太大,最后使用可见性模型来处理;
性能优化就是这么的魔幻,找到关键的点,不断尝试不同解决的思路的甚至是hack,一直在性能优化的路上
 
📖 Title: Chrome如何打开fps调试
🔗 Link: cmd + shift + P → fps
👍 Some Contents
notion image