Dev Tools crash when opening Network XHR http Headers with big data of Form Data

27 views
Skip to first unread message

徐明垒

unread,
May 24, 2016, 2:09:16 AM5/24/16
to Google Chrome Developer Tools
I open Network XHR to see http Headers , this request have a big data with form data  (14754 byte) .  when form data  expend   Dev Tools will crash ,  cpu  is more then 30% (i5 5200U  win10 8G Memory)

我打开开发者工具查看XHR的请求信息时,如果request中form data内容非常多,查看headers的时候非常慢,直接提示页面无响应。此时我从任务管理器中看到cpu到30%多。
我尝试先把form data项目折叠,然后再次打开,发现headers的内容很快展示出来了,但此时如果点击展开form data,仍然会出现页面无响应,cpu过高的问题。
所以应该是展示form data内容时的代码有性能问题。

  1. Accept:
    */*
  2. Accept-Encoding:
    gzip, deflate, sdch
  3. Accept-Language:
    zh-CN,zh;q=0.8,en;q=0.6
  4. Connection:
    keep-alive
  5. Content-Length:
    14754
  6. Content-Type:
    application/x-www-form-urlencoded; charset=UTF-8

Blaise Bruer

unread,
May 24, 2016, 1:38:24 PM5/24/16
to Google Chrome Developer Tools
Can you please supply us with a demo of this occurring? It is extremely difficult to diagnose/debug a problem without seeing it occur.

Thanks

徐明垒

unread,
May 24, 2016, 9:38:00 PM5/24/16
to Google Chrome Developer Tools
I save the request as har file
DevTools-crash-with-big-form-data.har
Reply all
Reply to author
Forward
0 new messages