Skip to content
This repository has been archived by the owner on Aug 10, 2019. It is now read-only.

Very slow loading lots of AJAX requests on load #1

Open
trisweb opened this issue Jul 20, 2012 · 1 comment
Open

Very slow loading lots of AJAX requests on load #1

trisweb opened this issue Jul 20, 2012 · 1 comment

Comments

@trisweb
Copy link

trisweb commented Jul 20, 2012

When loading pages with minprofiler enabled for a while, the page freezes for a couple seconds and CPU spikes to 100%, then calms down.

Discovered miniprofiler makes tons of POST requests to /mini-profiler-resources/results to load ALL existing individual results one-by-one.

I'm not sure why it's doing it that way, but it would be better if these were somehow filtered out beforehand, or only 10 results at a time were loaded, or better yet they were loaded in 1 request.

Actually it's very fast, but it slows down a lot if the chrome developer panel is open since each request takes a lot of time to parse and display. In dev I have that panel open a lot, so it's sort of a drag.

No rush. Thanks!

@harley
Copy link
Owner

harley commented Jul 20, 2012

oooh good point -- thanks. i'll look into that. in the meantime you can append pp=skip to query params, e.g. http://localhost:3000/?pp=skip. see more option with pp=help.

or just turn it off in development temporarily for development. thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants