
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Easily monitor the performances of your React-Three-Fiber application.
r3f-perf.cjs.production.min.js
Size: 34 B with all dependencies, minified and gzipped
r3f-perf.esm.js
Size: 6.23 KB with all dependencies, minified and gzipped
yarn add --dev r3f-perf
headless?: false, // Without UI. See Headless section
graph?: true // show the graphs
colorBlind?: false // Color blind colors for accessibility
trackGPU?: true // show a graph of the GPU (Experimental, might not be relevant)
Simply add the the profiler component in your app
import { Canvas } from 'react-three-fiber'
import { Perf } from 'r3f-perf'
<Canvas>
<Perf />
</Canvas>
Usage without interface : headless mode
import { Canvas } from 'react-three-fiber'
import { Perf, usePerf } from 'r3f-perf'
const PerfHook = () => {
const { gl, log } = usePerf()
console.log(gl, log)
return null
}
export default function App() {
return (
<Canvas>
<Perf headless />
<PerfHook />
</Canvas>
);
}
The tool work with any server side rendering framework. You can try with Next and React-Three-Fiber using this starter : https://github.com/RenaudRohlinger/r3f-next-starter
R3F-Perf is automatically removed from the production build based on the process.env.NODE_ENV
.
FAQs
Easily monitor your ThreeJS performances.
The npm package r3f-perf receives a total of 10,629 weekly downloads. As such, r3f-perf popularity was classified as popular.
We found that r3f-perf demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.