Skip to content

Benchmark and improve object creation #95

@iboB

Description

@iboB

Benchmarks of https://github.com/iboB/huse show unexpectedly long time spent in object creation where the type cache query is practically a hit 100% of the time. It seems that it takes 90us to create an object in the json-parse benchmark there.

We should benchmark (and likely optimize) object creation.

  • Check with a known type: mutate_to
  • Check by mutating to a hit: mutate leading to a known type

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions