bluerobotics / bluerobotics/BlueOS

Improve frontend performance

Open
#4,434 0 comments 1 reaction 1 assignee Claimed by @patrickelectric View on GitHub
bug core investigate move-to-stable needs-external-change P1 - Important Priority ui
Dominant language
Vue
Stars
453
Forks
151
Avg merge
1d 3h
Merged PRs (30d)
174

Description

Hear me out, BlueOS frontend works without performance issue, but sometimes I have performance issues!!!

Image

So, I did a test for all pages, 5 min each.

- MAVLink Inspector is 40.34% of one core while idle
- 60 fps redraw with nothing changing (Fixed in https://github.com/bluerobotics/mavlink-server/pull/231)
- iframe to mavlink-server, FireAnimationFrame
- Vehicle Setup is 16.30%
- `/mavlink-camera-manager/v4l` at delay 1000, 455 KB per response, 1.53 GB/hour
- Video Streams uses delay 5000 for the same endpoint and is 6.55%
- Zenoh Inspector is 11.09%
- `declareSubscriber('**')` on mount, 1140 msg/s
- peak 61.5%
- `/system-information/platform` grows with uptime
- 706 KB to 13.2 MB per 5 min window in under 2 hours
- raspberry.events.list never trims
- 85-91% of bytes on 18 of 22 pages
- Network Test heap peaks at 159.2 MB
- 100 MB ArrayBuffer allocated on mount, no test started
- OneMoreTime pollers leak
- `data: () => ({ disposeWith: this })` in Pings.vue and MainView.vue
- after a second visit to `/vehicle/pings`, `/system-information/serial` doubled from 12.4 to 23.8 req/min
- NMEA Injector is 3.53% (shell only)
- 14 of 22 pages stay within 2x of that

Tested in: [heads/master-0-g65b2affb](https://github.com/bluerobotics/BlueOS/tree/65b2affb)

Here are some data:

Image
Image
Image
Image
Image
Image
Image
Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.