MCPcopy Create free account
hub / github.com/ceifa/wasmoon / createEngineWithoutSuperpowers

Function createEngineWithoutSuperpowers

bench/steps.js:28–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28const createEngineWithoutSuperpowers = async () => {
29 const factory = new wasmoon.LuaFactory()
30
31 console.time('Create engine without superpowers')
32 await factory.createEngine({
33 injectObjects: false,
34 enableProxy: false,
35 openStandardLibs: false,
36 })
37 console.timeEnd('Create engine without superpowers')
38}
39
40const runHeapsort = async () => {
41 const state = await new wasmoon.LuaFactory().createEngine()

Callers

nothing calls this directly

Calls 1

createEngineMethod · 0.95

Tested by

no test coverage detected