gridwise-webgpu / gridwise-webgpu/gridwise
CPU timing measurement
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11
- Forks
- 9
- Avg merge
- 9m
- Merged PRs (30d)
- 6
Description
if (args?.enableCPUTiming) {
const t0 = performance.now(); // start after submission
await this.device.queue.onSubmittedWorkDone(); // wait for GPU
const t1 = performance.now(); // end after GPU finishes
this.cpuStartTime = t0;
this.cpuEndTime = t1;
}
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in primitive.mjs around line 881 and inspect the existing enableCPUTiming path, including its callers and any related tests. Clarify the intended CPU timing behavior and add coverage showing the measurements are recorded correctly; the issue text does not define the expected result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics, performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100