Skip to content

Performance: investigate ctx.willReadFrequently, offscreenCanvas, worker #21

@joedf

Description

@joedf

just add ctx.willReadFrequently = true; in ComputeProbeValue_gs() seem to produce a minor speed improvement... but maybe it's now CPU-bound? maybe a context should be passed instead of an image/canvas if possible?

https://caniuse.com/?search=willReadFrequently

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions