Comments (8)
maybe helpful: https://github.com/leeoniya/uPlot#performance
from shynet.
Do charts on home page have the same issues?
Server side rendering may cause long page load but not performance issues after.
Chart shouldn't be a problem too. It has the same amount of data no matter how much traffic you have.
My guess is too many things rendered into DOM. (For example to many locations or referrers)
from shynet.
Do charts on home page have the same issues?
Yeah you pointed it out. Charts on the home page are smooth as normal.
I removed the Location panel in the browser inspector, which had 10,000 nodes. This made the page back to normal. It appears that having too many HTML nodes was causing the issue.
from shynet.
It's still a problem. I think locations and referral should show max top 100 results.
@milesmcc What do you think?
from shynet.
A better way to handle large amounts of data is to retrieve it through an API and render it in the viewport dynamatically. But this would require a significant amount of refactoring.
from shynet.
I think we should show the top n
for everything, rather than all... perhaps we add pagination somehow as well? That should really speed things up.
from shynet.
Would someone be able to submit a PR that does this? I'd merge quickly.
from shynet.
There can be a button to open paginated view with all results. Just like with sessions.
I can make PR tomorrow.
from shynet.
Related Issues (20)
- Github container's last publish date was over 3 years ago.
- No support for redis sentinel caches. HOT 4
- Fix tests GitHub Action
- Don't commit MaxMind license key to your repository HOT 6
- Unknown icons cannot load HOT 1
- 502 Bad Gateway HOT 2
- Install SSL
- Question regarding Requests HOT 2
- cannot load HOT 1
- Correct hostname for emails HOT 3
- docker SSL setup
- Install as app into existing Django backends HOT 1
- MySQL Support? HOT 1
- Sent email validation
- Dependency Updates HOT 3
- rpds-py error: subprocess-exited-with-error
- Shynet configure SSL [Chinese tutorial]
- CSRF verification failed. Request aborted. HOT 4
- Add import from Matomo and GA ? HOT 2
- Docker build fails with CalledProcessError in `django-allauth` dependency HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shynet.