Skip to content

Add typography benchmark tests for textToPaths() #8969

Description

@shakeelmohamed

Increasing access

Unsure

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

Feature enhancement details

Continuing the work from #8918.
For p5.js 2.x, add an additional test suite for textToPaths().

The tests cases should use the same test strings as the textToPoints() benchmarks. Since there is no sampleFactor parameter, we need to think about how to gauge performance across the textTo___ functions.

Test coverage must include the following renderers:

  • 2D
  • WebGL
  • WebGPU

Please add @shakeelmohamed as a reviewer to any related PRs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions