Skip to content

Latest commit

 

History

History
128 lines (82 loc) · 4.71 KB

CHANGELOG.md

File metadata and controls

128 lines (82 loc) · 4.71 KB

R3F-Perf

7.2.2:

  • feat: Add offline support @Alkebsi

7.2.1:

  • fix: Fix TS

7.1.2:

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

7.1.1:

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

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

7.0.1:

  • fix: getReport() average log was not updated

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.

6.6.3:

  • Blend default material to NormalBlending
  • Max Hz is now dynamic and more solid (calculated on a 2 seconds range)

6.6.2:

  • Fixed over clocked graph fps displaying wrong value

6.6.1:

  • Made the over clocked fps monitor more precise
  • Improved the UI regarding over clocked UI
  • overClock = false Made the over clocked fps monitor optional, disabled by default
  • overClock and chart setting are now reactive

6.6.0:

  • The Fps metric is not limited anymore by the framerate of the monitor on Chrome and Firefox.

6.5.0:

  • Improved the names of the functions for debugging in the profiler (updated some anonymous functions)

6.4.4:

  • Manually update matrixworld in r3f-perf

6.4.3:

  • Allow r3f-perf to be rendered when scene.autoUpdate = false

6.4.2:

  • Added the ability to override the style
  • Fix issue GPU Monitor was losing context sometimes

6.0.1:

  • Enable jsx runtime #31
  • Simplify logic in (remove babel generated code + move React root creation inside effect)

Thanks @alexandernanberg

6.0.0:

  • Update r3f-perf to React v18 and R3F v8
  • Fix an issue where the numbers were not getting displayed sometimes.

5.4.0:

  • New minimal option. Useful for smartphone and smaller viewports.
  • New customData option (See README). Introducing custom data log. Can be useful for logging your physic fps for instance.
  • New getter setter setCustomData() and getCustomData() methods to update the customData information.
  • Added / before maxMemory.

5.3.2:

  • Fix memory leak createQuery stacking in WebGL2 context

5.3.1:

  • Fix potential memory leak when gl context is lost.

5.3.0:

  • New parameter "antialiasing", enabled by default.
  • Tool is now slightly transparent

5.2.0:

  • Removed the CPU monitoring as it is not relevant enough.
  • Fix an issue where the graphs would disappear on HMR #23.
  • Added new maxMemory information which represent the jsHeapSizeLimit. Requires window.performance.memory.
  • Added memory graph monitor, it represents the real-time memory usage divided by the max memory.
  • Replaced the dom text with 3D text using troika-text
  • Replaced React-Icons by Radix-Icons. related: #26
  • Removed candygraph (regl), rafz, lerp dependencies
  • Graphs are now drawn with threejs and custom buffer attributes.
  • Added new parameter deepAnalyze in order to show further information about programs. Set to false by default.
  • Increased refresh rate of the logs.
  • The logs and the graphs are always shown even in the programs tab.
  • Dev: updated package to the latest dependencies. related: #27