Skip to content

armgit / BUI

Public Imported from GitHub
0

Blender's GPU Accelerated UI, Decoupled from it's original codebase. Supports Rust, Python, JS, React, C & C++. Twice as good as GPUI

409 B
Raw Blame
// For the first-frame apps: once the first frame is on screen, print how long
// that took (ms since the runtime started) and the resident memory then, and quit.
'use strict'
module.exports = function report ({ app, window }) {
  window.requestAnimationFrame(() => {
    console.log(`first-frame ${performance.now().toFixed(1)} rss ${(process.memoryUsage.rss() / 1048576).toFixed(1)}`)
    app.quit()
  })
}