si icon indicating copy to clipboard operation
si copied to clipboard

Yielding webworker

Open jobelenus opened this issue 6 months ago • 1 comments

With 22 components, yielding the 1st component was slightly faster than returning all the components. By the time we get to the end of the components its taken roughly 4x the amount of time to get the full list.

Of course—there are no optimizations under the hood that remove the need to JSON parse, and structuredClone a string or transfer a blob. This work is in anticipation of not having to look up references and perform JSON parse for finding references in the data itself.

jobelenus avatar Jun 10 '25 20:06 jobelenus

Dependency Review

✅ No vulnerabilities or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/comlink-async-generator ^0.0.1 UnknownUnknown
npm/comlink-async-generator 0.0.1 UnknownUnknown

Scanned Files

  • app/web/package.json
  • pnpm-lock.yaml

github-actions[bot] avatar Jun 10 '25 20:06 github-actions[bot]