Skip to content

What's the deal with benchmark/misc/v8-bench.js? #16119

Closed

Description

@Trott
  • Version: current master branch
  • Platform: n/a
  • Subsystem: benchmark

What's the deal with benchmark/misc/v8-bench.js? It does not behave like our other benchmark files. Should it live somewhere else? Should it be deleted?

@nodejs/benchmarking @mscdex

Activity

  1. added
    benchmarkIssues and PRs related to Node.js benchmarks and benchmarking infrastructure.
    questionIssues asking questions about Node.js.
    v8 engineIssues and PRs related to the V8 dependency.
    on Oct 10, 2017
  2. joyeecheung commented on Oct 10, 2017

    @joyeecheung
    Member

    I think this is supposed to be used like this:

    1. Run ./node benchmark/misc/v8-bench.js
    2. Open deps/v8/benchmarks/run.html
    3. Compare the scores of the V8 in Node.js and the V8 in your browser.

    I tried to run these V8 benchmarks a few times and the results are pretty flaky. Also the way it's written, it doesn't work with our benchmark suites(run.js, etc.). There seems to be a merit in keeping it though.

  3. hashseed commented on Oct 10, 2017

    @hashseed
    Member

    V8 bench is very outdated and has been replaced by Octane years ago.

    What is the goal of this benchmark? To ensure that Node.js is on par with Chrome?

  4. bnoordhuis commented on Oct 10, 2017

    @bnoordhuis
    Member

    Yes, it was added as a quick gauge.

    It can be removed, IMO. We started benchmarking Octane in nodejs/benchmarking#79.

  5. added a commit that references this issue on Oct 11, 2017
  6. added a commit that references this issue on Oct 12, 2017
  7. joyeecheung commented on Oct 12, 2017

    @joyeecheung
    Member

    It's been removed in #16126, so closing

  8. added a commit that references this issue on Oct 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    benchmarkIssues and PRs related to Node.js benchmarks and benchmarking infrastructure.questionIssues asking questions about Node.js.v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions