feat: -rm perf logging

This commit is contained in:
amhsirak
2025-03-13 00:17:16 +05:30
parent 9b56537f2e
commit c9c21fd47e

View File

@@ -171,16 +171,6 @@ const Canvas = ({ width, height, onCreateRef }: CanvasProps) => {
}
}, [socket]);
// performance logging
useEffect(() => {
const intervalId = setInterval(() => {
const report = performanceMonitor.current.getPerformanceReport();
console.log('Frontend Performance Report:', report);
}, 5000);
return () => clearInterval(intervalId);
}, []);
const onKeyboardEvent = useCallback((event: KeyboardEvent) => {
if (socket) {
switch (event.type) {