Skip to content

Instantly share code, notes, and snippets.

@xgqfrms-GitHub
Created May 16, 2017 08:32
Show Gist options
  • Save xgqfrms-GitHub/88a8ea67005f76146a1a99f7737d80df to your computer and use it in GitHub Desktop.
Save xgqfrms-GitHub/88a8ea67005f76146a1a99f7737d80df to your computer and use it in GitHub Desktop.
Yarn & Google’s HAR Analyzer / HAR Viewer & HTTP archive

HAR 文件 (.har)

HAR(HTTP 归档) 是多种 http 会话工具用来导出所记录数据的一种文件格式。 这种格式基本上是JSON 对象,并具有特定的字段分布。 在任何情况下,都请注意并非所有字段都是必填字段。 很多时候,部分信息不会保存到文件中。

HAR 分析器

https://toolbox.googleapps.com/apps/har_analyzer/

https://toolbox.googleapps.com/apps/browserinfo/

G Suite 工具箱

https://toolbox.googleapps.com/apps/main/

日志分析器

https://toolbox.googleapps.com/apps/loganalyzer/

日志分析器 2

https://toolbox.googleapps.com/apps/loggershark/

HAR Viewer

http://www.softwareishard.com/blog/har-viewer/

Yarn & Google’s HAR Analyzer / HAR Viewer

https://yarnpkg.com/zh-Hans/docs/cli/install

$ yarn install --har

从安装期间的所有网络请求输出一个 HTTP archive。 HAR 文件通常用于排查网络性能,并能用 Google’s HAR AnalyzerHAR Viewer 这样的工具分析。

@xgqfrms-GitHub
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment