Skip to content

Tune built-in.smli #34

@julianhyde

Description

@julianhyde

The built-in.smli test takes 26 seconds on Rust (debug mode), compared to 2 seconds on Java. This suggests that the Rust performance can be improved significantly. This task is to investigate the performance and suggest some tasks that will make it faster. Some questions:

  • What is the balance of time between parsing, validation and execution?
  • If comments and disabled regions (via mode=validate) are removed, do the numbers change significantly?
  • Generate a flamegraph (or similar) and identify functions that are surprisingly slow.
  • Is something building up and making everything slower? (Divide the test into smaller sections and see whether the total running time is greater than the sum of the parts.)
  • Are some data structures slow?

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