- feat: Add offline support @Alkebsi
- fix: Fix TS
- feat: name html group for easier debugging (#41) @AlaricBaraou
- feat:
getReport()
now returns additional infos such as the vendor, WebGL renderer and version
- 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
- fix:
getReport()
average log was not updated
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 storeconst 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
andusePerf
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 withCpu
. - deprecated: Removed unused
trackCPU
parameter - deprecated:
usePerf()
is now azustand
store and does not return an object anymore. - fix: texture informations in
deepAnalyze
mode where showing wrong values.
- Blend default material to NormalBlending
- Max Hz is now dynamic and more solid (calculated on a 2 seconds range)
- Fixed over clocked graph fps displaying wrong value
- 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 defaultoverClock
andchart
setting are now reactive
- The Fps metric is not limited anymore by the framerate of the monitor on Chrome and Firefox.
- Improved the names of the functions for debugging in the profiler (updated some anonymous functions)
- Manually update matrixworld in r3f-perf
- Allow r3f-perf to be rendered when
scene.autoUpdate = false
- Added the ability to override the style
- Fix issue GPU Monitor was losing context sometimes
- Enable jsx runtime #31
- Simplify logic in (remove babel generated code + move React root creation inside effect)
Thanks @alexandernanberg
- Update r3f-perf to React v18 and R3F v8
- Fix an issue where the numbers were not getting displayed sometimes.
- 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()
andgetCustomData()
methods to update the customData information. - Added
/
before maxMemory.
- Fix memory leak createQuery stacking in WebGL2 context
- Fix potential memory leak when gl context is lost.
- New parameter "antialiasing", enabled by default.
- Tool is now slightly transparent
- 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 thejsHeapSizeLimit
. Requireswindow.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