Closed Bug 1577098 Opened 5 years ago Closed 5 years ago

Big response body rendering is slow

Categories

(DevTools :: Netmonitor, defect, P3)

defect

Tracking

(firefox68 affected, firefox69 affected, firefox70 affected)

RESOLVED DUPLICATE of bug 1127077
Tracking Status
firefox68 --- affected
firefox69 --- affected
firefox70 --- affected

People

(Reporter: renatofs.peixoto.housemd, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached image 2019-08-28_08h07_12.png

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36

Steps to reproduce:

call a web service that returns a 2.21MB json response

Actual results:

the response got truncated see image attached

Expected results:

I expected to see the full response as it happens in order to smaller responses.

at least I expected to have access to the raw response no prettified one

at least even if truncated be able to copy the full raw response and paste on another software that can handle it

after year on chrome, I was really enjoying firefox but at the moment I'm developing with big responses everywhere so until this is fix I'm forced to go back to the ram eater (eats ram like the cookie monster eats cookies but it shows the response ;-)).

Hello,

Can you give us the exact web service used in order to reproduce this issue?

Flags: needinfo?(renatofs.peixoto.housemd)

Hello,

For instance, any JSON response over 1mb of size will do, but I added to my git hub account a public repo with a file you can download as raw on https://raw.githubusercontent.com/renatofsp/json/master/bigJson.json.

If we make a get request to https://raw.githubusercontent.com/renatofsp/json/master/bigJson.json with firefox response is truncated.

I have a look around and went into about:config and increased devtools.netmonitor.responseBodyLimit value but then firefox just crash when trying to precess it on the dev tools.

Flags: needinfo?(renatofs.peixoto.housemd)
  • process not precess sorry for the typo

I have tested this issue and could reproduce it on Windows and Macos on all versions release 68.0.2, beta 69 and Nightly 70.0a1 (2019-09-01).
I have set a component for this issue as well, however if you feel like it's not the correct one please feel free to change it.

Status: UNCONFIRMED → NEW
Type: enhancement → defect
Component: Untriaged → Networking
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
Version: 68 Branch → Trunk
Attached image firefoxVersion.png

It's fine thank you.

I was a bit dumb since I could have added the os and firefox version
os: windows 10 64 bits
firefox: on the previous comment

I think this is a devtool issue.

Component: Networking → Netmonitor
Product: Core → DevTools

@repe: this is a feature, we limit the size of the rendered response to avoid memory and performance troubles.
However, you can change the size in about:config

devtools.netmonitor.responseBodyLimit is set to 1048576 by default.
You can just change the value and restart Firefox.

Does that help?
Honza

Flags: needinfo?(renatofs.peixoto.housemd)

@Honza it helps in a way.

I had done that already but the best thing will be to be able to see the response without the performance issues if I increase the limit let say to 2.5MB it starts to crash firefox so I can't see the response either way ;-).

if its a feature that's fine no worries I can live without it.

Flags: needinfo?(renatofs.peixoto.housemd)

Yeah, it's known perf issue. I'll keep this one open so, it isn't forgotten.

Honza

Summary: Response body on developer tools gets trucated with big responses → Bit response body rendering is slow
Summary: Bit response body rendering is slow → Big response body rendering is slow

Work continues in bug 1127077.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: