Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] 提供一种轻量的,无特效的前端模式,改善性能问题 #3728

Closed
JustusPan opened this issue Sep 2, 2024 · 11 comments
Assignees
Labels
🌠 Feature Request New feature or request | 特性与建议 ⚡️ Performance Performance issue | 性能问题

Comments

@JustusPan
Copy link

🥰 Feature Description

提供一种部署模式,允许我们使用一个
简约的轻量的前端界面。

当Edge浏览器未开启图形加速功能时,lobechat默认界面的大头小人动画可以占cpu70%。
image

这对于一些性能不太好的设备来说是个不小的负担。我不知道是否还有其他情况会显著影响性能以及这是否是移动设备访问lobechat性能不佳的原因之一。
个人认为lobechat的核心功能完全可以运行在一个没有花哨特效的前端上。是否可以提供一种部署模式,允许我们使用一个
简约的轻量的前端界面。

🧐 Proposed Solution

是否可以取消一些动效和装饰性的效果?

📝 Additional Information

No response

@JustusPan JustusPan added the 🌠 Feature Request New feature or request | 特性与建议 label Sep 2, 2024
@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Feature Description

Provides a deployment mode that allows us to use a
Simple and lightweight front-end interface.

When the graphics acceleration function is not turned on in the Edge browser, the big-headed man animation in the default interface of lobechat can occupy 70% of the CPU.
image

This is a big burden for some devices with poor performance. I wonder if there are other situations that significantly affect performance and if this is one of the reasons for the poor performance of accessing lobechat from mobile devices.
Personally, I think the core functions of lobechat can be run on a front end without fancy special effects. Is it possible to provide a deployment mode that allows us to use a
Simple and lightweight front-end interface.

🧐 Proposed Solution

Is it possible to cancel some animation and decorative effects?

📝 Additional Information

No response

@lobehubbot
Copy link
Member

👀 @JustusPan

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@dosubot dosubot bot added the ⚡️ Performance Performance issue | 性能问题 label Sep 2, 2024
@VectorZhao
Copy link
Contributor

希望支持,目前的UI确实比较卡顿

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I hope you can support it. The current UI is really laggy.

@arvinxx
Copy link
Contributor

arvinxx commented Sep 29, 2024

目前通过 #4085 已经移除部分动态模糊特效,应该能提升一部分速度。可以试试看。

后续会进一步提供配置开关,支持不使用 3D 头像,以提升性能

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Currently, some motion blur effects have been removed through #4085, which should improve the speed. You can try it.

In the future, further configuration switches will be provided to support not using 3D avatars to improve performance.

@Smart-SangGe
Copy link

同意,我在分享给别人使用时的时候,第一次加载总是非常缓慢,甚至出现了超时加载错误的问题,反馈给我的问题是前端的js较多,本身网站带宽也小。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Agree, when I share it with others, the first loading is always very slow, and even a timeout loading error occurs. The problem reported to me is that there are more js on the front end and the website bandwidth is small.

@arvinxx
Copy link
Contributor

arvinxx commented Dec 20, 2024

目前已经移除 welcome 页面,同时加入了首屏的 loading 状态,我理解应该能改善一些性能问题了。

@arvinxx arvinxx closed this as completed Dec 20, 2024
@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The welcome page has been removed and the loading state of the first screen has been added. I understand that this should improve some performance issues.

@lobehubbot
Copy link
Member

@JustusPan

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议 ⚡️ Performance Performance issue | 性能问题
Projects
None yet
Development

No branches or pull requests

6 participants