diff --git a/README.md b/README.md index 7364e512b8..48eadc1b6d 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ LobeChat is a open-source, extensible ([Function Calling][fc-link]), high-perfor - [👋🏻 Getting Started & Join Our Community](#-getting-started--join-our-community) - [✨ Features](#-features) - [📸 Snapshot](#-snapshot) +- [⚡️ Performance](#️-performance) - [🛳 Self Hosting](#-self-hosting) - [Keep Updated](#keep-updated) - [📦 Ecosystem](#-ecosystem) @@ -154,6 +155,22 @@ We have carried out a series of optimization designs for mobile devices to enhan +## ⚡️ Performance + +| Desktop | Mobile | +| :-----------------------------------------: | :----------------------------------------: | +| ![][chat-desktop] | ![][chat-mobile] | +| [📑 Lighthouse Report][chat-desktop-report] | [📑 Lighthouse Report][chat-mobile-report] | + +> **Note**\ +> The complete list of reports can be found in the [📘 Lighthouse Reports](https://github.com/lobehub/lobe-chat/wiki/Lighthouse) + +
+ +[![][back-to-top]](#readme-top) + +
+ ## 🛳 Self Hosting LobeChat provides a [self-hosted version][deploy-link] with Vercel. This allows you to build your own chatbot within a few minutes, without any prior knowledge. If you want to deploy this service yourself, you can follow these steps: @@ -297,6 +314,10 @@ This project is [MIT](./LICENSE) licensed. [back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square [bun-link]: https://bun.sh [bun-shield]: https://img.shields.io/badge/-speedup%20with%20bun-black?logo=bun&style=for-the-badge +[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg +[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/chat_lobehub_com_chat.html +[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg +[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/chat_lobehub_com_chat.html [chat-plugin-realtime-weather]: https://github.com/lobehub/chat-plugin-realtime-weather [chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk [chat-plugin-search-engine]: https://github.com/lobehub/chat-plugin-search-engine diff --git a/README.zh-CN.md b/README.zh-CN.md index e5888c20e2..5f889a3036 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -46,6 +46,7 @@ LobeChat 是一个开源的、可扩展的([Function Calling][fc-link])高 - [👋🏻 开始使用 & 交流](#-开始使用--交流) - [✨ 功能特性](#-功能特性) - [📸 快照预览](#-快照预览) +- [⚡️ 性能测试](#️-性能测试) - [🛳 开箱即用](#-开箱即用) - [保持更新](#保持更新) - [📦 生态系统](#-生态系统) @@ -156,6 +157,22 @@ LobeChat 提供了两种独特的主题模式 - 明亮模式和暗黑模式, +## ⚡️ 性能测试 + +| Desktop | Mobile | +| :-------------------------------------------: | :------------------------------------------: | +| ![][chat-desktop] | ![][chat-mobile] | +| [📑 Lighthouse 测试报告][chat-desktop-report] | [📑 Lighthouse 测试报告][chat-mobile-report] | + +> **Note**\ +> 完整测试报告可见 [📘 Lighthouse 性能测试](https://github.com/lobehub/lobe-chat/wiki/Lighthouse.zh-CN) + +
+ +[![][back-to-top]](#readme-top) + +
+ ## 🛳 开箱即用 LobeChat 提供了 Vercel 的 [自托管版本][deploy-link]。这使你可以在几分钟内构建自己的聊天机器人,无需任何基础知识。如果想自己部署该服务,可以按照以下步骤进行操作: @@ -299,6 +316,10 @@ This project is [MIT](./LICENSE) licensed. [back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square [bun-link]: https://bun.sh [bun-shield]: https://img.shields.io/badge/-speedup%20with%20bun-black?logo=bun&style=for-the-badge +[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg +[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/chat_lobehub_com_chat.html +[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg +[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/chat_lobehub_com_chat.html [chat-plugin-realtime-weather]: https://github.com/lobehub/chat-plugin-realtime-weather [chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk [chat-plugin-search-engine]: https://github.com/lobehub/chat-plugin-search-engine diff --git a/docs/Home.md b/docs/Home.md index 1a22ed4958..386f24ae0a 100644 --- a/docs/Home.md +++ b/docs/Home.md @@ -17,6 +17,7 @@ LobeChat is a open-source, extensible ([Function Calling][fc-url]), high-perform - [Environment Variables](Environment-Variable) | [环境变量](Environment-Variable.zh-CN) - [Maintaining Updates with LobeChat Self-Deployment](Upstream-Sync) | [自部署保持更新](Upstream-Sync.zh-CN) - [Deploying with Azure OpenAI](Deploy-with-Azure-OpenAI) | [使用 Azure OpenAI 部署](Deploy-with-Azure-OpenAI.zh-CN) +- [Lighthouse Report](Lighthouse) | [性能测试](Lighthouse.zh-CN) --- diff --git a/docs/Lighthouse.md b/docs/Lighthouse.md new file mode 100644 index 0000000000..6254de9c25 --- /dev/null +++ b/docs/Lighthouse.md @@ -0,0 +1,65 @@ +# Lighthouse Reports + +#### TOC + +- [Welcome Page](#welcome-page) +- [Chat Page](#chat-page) +- [Market Page](#market-page) +- [Settings Page](#settings-page) + +## Welcome Page + +> **Info**\ +> + +| Desktop | Mobile | +| :---------------------------------------------: | :--------------------------------------------: | +| ![][welcome-desktop] | ![][welcome-mobile] | +| [⚡️ Lighthouse Report][welcome-desktop-report] | [⚡️ Lighthouse Report][welcome-mobile-report] | + +## Chat Page + +> **Info**\ +> + +| Desktop | Mobile | +| :------------------------------------------: | :-----------------------------------------: | +| ![][chat-desktop] | ![][chat-mobile] | +| [⚡️ Lighthouse Report][chat-desktop-report] | [⚡️ Lighthouse Report][chat-mobile-report] | + +## Market Page + +> **Info**\ +> + +| Desktop | Mobile | +| :--------------------------------------------: | :-------------------------------------------: | +| ![][market-desktop] | ![][market-mobile] | +| [⚡️ Lighthouse Report][market-desktop-report] | [⚡️ Lighthouse Report][market-mobile-report] | + +## Settings Page + +> **Info**\ +> + +| Desktop | Mobile | +| :----------------------------------------------: | :---------------------------------------------: | +| ![][settings-desktop] | ![][settings-mobile] | +| [⚡️ Lighthouse Report][settings-desktop-report] | [⚡️ Lighthouse Report][settings-mobile-report] | + +[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg +[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/chat_lobehub_com_chat.html +[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg +[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/chat_lobehub_com_chat.html +[market-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/market/desktop/pagespeed.svg +[market-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/market/desktop/chat_lobehub_com_market.html +[market-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/market/mobile/pagespeed.svg +[market-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/market/mobile/chat_lobehub_com_market.html +[settings-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/desktop/pagespeed.svg +[settings-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/desktop/chat_lobehub_com_settings.html +[settings-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/mobile/pagespeed.svg +[settings-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/mobile/chat_lobehub_com_settings.html +[welcome-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/desktop/pagespeed.svg +[welcome-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/desktop/chat_lobehub_com_welcome.html +[welcome-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/mobile/pagespeed.svg +[welcome-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/mobile/chat_lobehub_com_welcome.html diff --git a/docs/Lighthouse.zh-CN.md b/docs/Lighthouse.zh-CN.md new file mode 100644 index 0000000000..e5ac00d9f0 --- /dev/null +++ b/docs/Lighthouse.zh-CN.md @@ -0,0 +1,65 @@ +# Lighthouse 测试报告 + +#### TOC + +- [Welcome 欢迎页面](#welcome-欢迎页面) +- [Chat 聊天页面](#chat-聊天页面) +- [Market 市场页面](#market-市场页面) +- [Settings 设置页面](#settings-设置页面) + +## Welcome 欢迎页面 + +> **Info**\ +> + +| Desktop | Mobile | +| :---------------------------------------------: | :--------------------------------------------: | +| ![][welcome-desktop] | ![][welcome-mobile] | +| [⚡️ Lighthouse Report][welcome-desktop-report] | [⚡️ Lighthouse Report][welcome-mobile-report] | + +## Chat 聊天页面 + +> **Info**\ +> + +| Desktop | Mobile | +| :------------------------------------------: | :-----------------------------------------: | +| ![][chat-desktop] | ![][chat-mobile] | +| [⚡️ Lighthouse Report][chat-desktop-report] | [⚡️ Lighthouse Report][chat-mobile-report] | + +## Market 市场页面 + +> **Info**\ +> + +| Desktop | Mobile | +| :--------------------------------------------: | :-------------------------------------------: | +| ![][market-desktop] | ![][market-mobile] | +| [⚡️ Lighthouse Report][market-desktop-report] | [⚡️ Lighthouse Report][market-mobile-report] | + +## Settings 设置页面 + +> **Info**\ +> + +| Desktop | Mobile | +| :----------------------------------------------: | :---------------------------------------------: | +| ![][settings-desktop] | ![][settings-mobile] | +| [⚡️ Lighthouse Report][settings-desktop-report] | [⚡️ Lighthouse Report][settings-mobile-report] | + +[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg +[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/chat_lobehub_com_chat.html +[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg +[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/chat_lobehub_com_chat.html +[market-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/market/desktop/pagespeed.svg +[market-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/market/desktop/chat_lobehub_com_market.html +[market-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/market/mobile/pagespeed.svg +[market-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/market/mobile/chat_lobehub_com_market.html +[settings-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/desktop/pagespeed.svg +[settings-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/desktop/chat_lobehub_com_settings.html +[settings-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/mobile/pagespeed.svg +[settings-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/mobile/chat_lobehub_com_settings.html +[welcome-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/desktop/pagespeed.svg +[welcome-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/desktop/chat_lobehub_com_welcome.html +[welcome-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/mobile/pagespeed.svg +[welcome-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/mobile/chat_lobehub_com_welcome.html diff --git a/docs/_Sidebar.md b/docs/_Sidebar.md index fee5c005af..6e1bf2ac94 100644 --- a/docs/_Sidebar.md +++ b/docs/_Sidebar.md @@ -9,6 +9,7 @@ - [Environment Variables](Environment-Variable) | [中文](Environment-Variable.zh-CN) - [Upstream Sync](Upstream-Sync) | [中文](Upstream-Sync.zh-CN) - [Deploying with Azure OpenAI](Deploy-with-Azure-OpenAI) | [中文](Deploy-with-Azure-OpenAI.zh-CN) +- [Lighthouse Report](Lighthouse) | [中文](Lighthouse.zh-CN) #### 🤖 Agents