Skip to content

[jsapi] limit tests optimization #972

@xtuc

Description

@xtuc

The get_buffer is slow, the generation of the Wasm module can be > 10min. Of course the execution itself is up to the engine, but here are my suggestions to optimize the test suite a bit:

  • Split it in multiple files to allow multithreading
  • Cache the buffers (min, limit and limit + 1) instead of generating them for each test.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions