Repository navigation
Tests: PMREMGenerator benchmark (tracking, on top of the compute PMREM PR) - #2
Open
DennisSmolek wants to merge 1 commit into
Open
DennisSmolek wants to merge 1 commit into
DennisSmolek wants to merge 1 commit into
Conversation
📦 Bundle sizeFull ESM build including core, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
DennisSmolek
force-pushed
the
pmrem-benchmark
branch
from
October 19, 2026 04:46
c467a4b to
f63d227
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DennisSmolek
force-pushed
the
pmrem-compute
branch
from
October 21, 2026 03:22
2ab8238 to
b4dcfba
Compare
DennisSmolek
force-pushed
the
pmrem-benchmark
branch
from
October 21, 2026 03:22
f63d227 to
c7afb22
Compare
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.
Tracking PR for the benchmark behind the compute
PMREMGeneratorPR. The base,pmrem-compute, is the branch the upstream PR is opened from, so this diff shows only the benchmark (one commit,c7afb22292). It's here to review and cherry-pick, and could become a follow-up upstream PR if maintainers want it in the repo.What it is
npm run benchmark-pmremloads one page,test/benchmarks/pmrem/pmrem.html, against thesrc/of several builds and compares them. A build is any git ref, extracted withgit archiveintonode_modules/.cache/, or.for the working tree. The page takes its three.js from?src=, so every build runs the exact same page. It followstest/benchmarks/proxy-node-material: puppeteer plusutils/server.js, with no new dependencies.bakefromCubemap()into a persistent target, asPMREMNodedoes for a dynamic environment, at 64 to 1024coldscenefromScene()at reflection probe sizesequirectfromEquirectangular()of a 1K HDRsamplingreadbackThe timings are burst wall-clock: N calls, one
onSubmittedWorkDone(), divided by N. The table keeps the minimum over page loads, and the builds rotate between runs.readbackcan take raw rgba16f cubes (captures=) in place of the proceduralSkyMeshsource. That's how the real-sky parity table in the PR was made, with the captures from pmndrs/sky.Things it caught
SkyMeshclouds move withtime. Without freezing them, each page rendered a slightly different sky, and the readback measured the clock, not the filter. The page setscloudSpeedto 0.devshowed differences that came from unrelated commits. Compare against the merge base, or against branches on the same base.Example output
Apple M5 Pro, Chrome 155 (Metal),
builds=upstream/dev,bhouston/pmrem-min-size,.,bench/compute-min64 runs=5, abridged:upstream/devupstream/dev