Repository navigation
Particle move benchmark: ECSs, MobX, Redux, threads and GPU; data 0.10.37 - #293
Merged
Merged
Conversation
…; move the AssemblyScript kernels into it Co-Authored-By: OpenCode <noreply@opencode.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds
packages/data-particle-benchmark, a bulk particle move (1M particles, 250K moved) on one thread, on every thread count and on the GPU, compared against the memory floor. It covers:@adobe/ecs: a WASM kernel, the same kernel run as JS, a plain row system, 2–16 threads, and a GPU kernel@adobe/data's current ECS and its deprecated old ECSThe results and the reasons behind them are in its README, with
results/threads.mdandresults/gpu.mdcovering threads and the GPU.pnpm run setup(--ignore-workspace), so MobX, Redux, AssemblyScript and Playwright are installed only there.@adobe/data. They existed only for its perftests.@adobe/datadrops the WASM build, its AssemblyScript dependencies and the WASM variants ofperftest/ecs1-perf.tsandecs2-perf.ts.ecs-benchmarkcomparison against C++ ECSs. The guide's checks pass.@adobe/ecsisn't bumped, since only its docs change.Testing
pnpm run lintand a cleanpnpm run typecheck(all*.tsbuildinforemoved first) pass at the root.@adobe/ecsguide tests pass (220).@adobe/data's old perftest still runs.