-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
21 additions
and
14 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
layout: post | ||
title: 前端性能优化小记 | ||
tag: [js performance] | ||
--- | ||
|
||
>已知 | ||
>* 浏览器是多进程的 | ||
>* 每个tab页是单独的一个render进程 | ||
### 浏览器内核模型 | ||
<img src="/2020/20200528_1.png" height="350" width="350"> | ||
|
||
### render进程 | ||
<img src="/2020/20200528_2.png" height="350" width="500"> | ||
|
||
* 常说的JS单线程模型其实是指的单个render进程内的JS引擎 | ||
* * JS引擎中最重要的 event loop模型 | ||
<img src="/2020/20200528_3.png" height="350" width="500"> | ||
|
||
|
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes