Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Document how to run benchmark.js #254

@jdmarshall

Description

@jdmarshall

The Benchmark.js home page shows how to write a test suite, but at no point does it show how to run the test suite and get results.

There is no bin, as you would get with testing frameworks, so my best guess at the correct answer was:

lib/settings/index.bench.js

But this only results in a few lines of console code from the code under test and then nothing. No statistics, no output files.

Stepping through in a debugger, the code is definitely running. It's just not accomplishing anything.

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