()
| 26 | } |
| 27 | |
| 28 | const 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 | |
| 40 | const runHeapsort = async () => { |
| 41 | const state = await new wasmoon.LuaFactory().createEngine() |
nothing calls this directly
no test coverage detected