GE Lua Documentation

Press F to search!

runPhysicsBenchmark

Definition


-- @/lua/ge/extensions/core/hardwareinfo.lua:198

local function runPhysicsBenchmark()
  --local fn = '/temp/bananabench.json'
  log('D', 'hardwareinfo.runPhysicsBenchmark', 'runPhysicsBenchmark()')
  local fn = 'bananabench.json'
  FS:removeFile(fn)
  Engine.Platform.runBananaBench(fn)
end

Callers

@/lua/ge/extensions/core/hardwareinfo.lua
  --local fn = '/temp/bananabench.json'
  log('D', 'hardwareinfo.runPhysicsBenchmark', 'runPhysicsBenchmark()')
  local fn = 'bananabench.json'
@/ui/modules/options/options.js
    $scope.bananabenchRunning = true
    bngApi.engineLua('core_hardwareinfo.runPhysicsBenchmark()')
  }