mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-23 19:32:31 +00:00
Measure whether a device can run background effects
- The camera and the pipeline, no call in the way: if a device cannot hold a frame rate here it cannot hold one in a call either. - Reports mean and worst five-second frame rate, startup, and the worst stall on the main thread. Run no effect first; every number is only meaningful beside that device's own baseline. - Ignores the desktop gate on purpose. Measuring what it forbids is the point, and the gate was written from reports rather than numbers. - Exploration only, on an unlisted route, and one path segment deep: the config is fetched relative to the page, so a nested path never starts. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
aabd9a7022
commit
1e445a4d14
2 files changed
+346
No files matched your search
+11
@@ -22,6 +22,8 @@ import {
|
||||
} from "react-router-dom";
|
||||
import * as Sentry from "@sentry/react";
|
||||
import { TooltipProvider } from "@vector-im/compound-web";
|
||||
|
||||
import { BackgroundEffectsBench } from "./livekit/BackgroundEffectsBench";
|
||||
import { logger } from "matrix-js-sdk/lib/logger";
|
||||
import { type MatrixClient } from "matrix-js-sdk";
|
||||
import { I18nextProvider } from "react-i18next";
|
||||
@@ -156,6 +158,15 @@ export const App: FC<Props> = ({ vm, widget }) => {
|
||||
<SentryRoute path="/" element={<HomePage />} />
|
||||
<SentryRoute path="/login" element={<LoginPage />} />
|
||||
<SentryRoute path="/register" element={<RegisterPage />} />
|
||||
{/* Exploration only: measures whether this device can run
|
||||
background effects, on a device the app refuses to run them
|
||||
on. One path segment, not two: the config is fetched
|
||||
relative to the page, so a nested path looks for it in a
|
||||
directory that does not exist and the app never starts. */}
|
||||
<SentryRoute
|
||||
path="/background-effects-bench"
|
||||
element={<BackgroundEffectsBench />}
|
||||
/>
|
||||
<SentryRoute path="*" element={<RoomPage />} />
|
||||
</Routes>
|
||||
</Sentry.ErrorBoundary>
|
||||
|
||||
Reference in new issue
Block a user