Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

r3f-perf

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

r3f-perf - npm Package Versions

23
13

7.2.3

Diff

onirenaud
published 7.2.2 •

Changelog

Source

7.2.2:

  • feat: Add offline support @Alkebsi
onirenaud
published 7.2.1 •

Changelog

Source

7.2.1:

  • fix: Fix TS
onirenaud
published 7.2.0 •

onirenaud
published 7.1.2 •

Changelog

Source

7.1.2:

  • feat: name html group for easier debugging (#41) @AlaricBaraou
onirenaud
published 7.1.1 •

Changelog

Source

7.1.1:

  • feat: getReport() now returns additional infos such as the vendor, WebGL renderer and version
onirenaud
published 7.1.0 •

Changelog

Source

7.1.0:

  • feat: New logsPerSecond parameter to specify the refresh rate of the logs
  • improvement: [GUI] draw texts only when needed (before it was based on the Raf).
  • fix: deleteQuery when the GPU Query Result is available
onirenaud
published 7.0.1 •

Changelog

Source

7.0.1:

  • fix: getReport() average log was not updated
onirenaud
published 7.0.0 •

Changelog

Source

7.0.0:

Complete refactor for headless mode, new CPU metric fot the loop duration in ms, switches to Vite for bundling and uses Rollup's preserveModules option to create subentry targets. Also publishes sourcemaps for debug and browser profiling.

  • refactor: use Vite, preserveModules subentries #39 @CodyJasonBennett
  • feat: Treeshaking of the library
  • feat: Introduce new Cpu value which translates to the duration the r3f render loop takes each frame.
  • feat: Introducing <PerfHeadless /> which is the new lighter headless mode usable in production. See the #PerfHeadless section in the README.md
  • feat: A new getReport() method, available through the store const getReport = usePerf(s=> s.getReport) will give you a complete report of the average performances since when the <Perf /> or <PerfHeadless /> was mounted.
  • feat: getPerf, setPerf and usePerf are now shallowed exposed shortcuts of the internal store.
  • feat: New report of the current session of the user accessible via the Perf store const { perf} = getPerf()
  • feat: customData has a new round property define a change the float precision (0.00 by default).
  • deprecated: [GUI] Removed Memory as the value was only available on Chrome and not relevant and replaced it with Cpu.
  • deprecated: Removed unused trackCPU parameter
  • deprecated: usePerf() is now a zustand store and does not return an object anymore.
  • fix: texture informations in deepAnalyze mode where showing wrong values.
onirenaud
published 7.0.0-beta.1 •

23
13
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc