【发布时间】:2019-03-13 22:25:21
【问题描述】:
我有一个 ionic 3 应用程序,我正在对我的查询进行一些性能测试。我注意到,对于每个 api 调用,我都会看到重复调用;一个从 'polyfill.js' 启动,一个从 'other' 启动。这是正常的吗?我将网络模式设置为“2g”,我注意到它需要 2 秒才能完成来自 polyfill 的调用,然后它实际上开始了主调用。
Name Status Type Initiator Size Time
GetCustomers 200 xhr polyfills.js?v=1.1.1.3:3 262 B 2.06 s
GetLocations 200 xhr polyfills.js?v=1.1.1.3:3 262 B 2.03 s
GetCustomers 200 xhr Other 380 B 2.52 s
GetLocations 200 xhr Other 310 B 2.22 s
【问题讨论】:
标签: angularjs ionic-framework google-chrome-devtools