首页 技术 正文
技术 2022年11月18日
0 收藏 814 点赞 3,809 浏览 701 个字

首先,如果测试需要用到的话,还是建议一下大家去看下Android-studio的官方文档。文档地址:Documentation  |  Android 开发者  |  Android Developers (google.cn)

然后点击performance,基本上就是性能方面的指南了

Google中的Network

web弱网

可以模拟手机,模拟弱网

过滤表达式:

domain :展示domain中的资源,域名筛选

has-response-header:包含指定HTTP响应header

is:表达式

larger-than:展示大于某个尺寸的资源,1000等于1K

method: 指定HTTP请求方法,比如:get或者是post

mime-type:资源mime类型,比如application/json

status-code: 状态码

例子:

1、大于10K的图片资源:

mime-type:image/png larger-than:1K

2、所有状态码为304的http请求:

scheme:https status-code:304

3、域名以.com结尾,使用http协议

domain:*.com  scheme:https

Google的performance

可以查看调用关系图和布局图

绿线:提前进行了页面的渲染,在蓝线之前FP/FTP。让用户有更好的体验。

解析HTML中断,遇到js,相当于预加载

在main下面有调用关系图

frames->layers:可以查看页面布局

W3C的内容可以查看我前面的博客:H5性能分析 – 丝瓜呆呆 – 博客园 (cnblogs.com)

unload :处理同源时,进行时间 计算

protocol、port和host相同

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,082
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,557
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,406
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,179
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,815
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,898