Closed hmallen99 closed 2 months ago
Btw the node cache and node schedule deps should be not needed soon. Those were coming from our common package and we are removing the common package as a dep from the core engine and leaving that a backend package.
Resolves #28
Benchmark run: https://github.com/rebeckerspecialties/benchmarking-test-app/actions/runs/10604360013
Changes
hyperfluxBenchmark.ts
, which profiles adding many transactions to the queueirEcsBenchmark.ts
, which profiles adding, checking, and removing many components and updating the system.React Native challenges
There were a couple of challenges that popped up when adding the
@ir-engine/ecs
and@ir-engine/hyperflux
packages:node-cache
andnode-schedule
to satisfy imports within the ir-engine modulesperf_hooks
package with an empty index.js to satisfy dependency unrolling in the metro build of the dependencies. The error comes from here: https://github.com/ir-engine/ir-engine/blob/ac80c029ad943156c9f0ab914d7bc32680cad5e7/packages/ecs/src/Timer.ts#L28, whereperf_hooks
is baked into the bundle, even if it's not required.