Skip to content

[discussion] for loops: benchmarks for io.js wanted #1508

Description

@hellboy81

The only benchmarks I found are not up-do-date

V8 (Chrome, Node)
Array: for loop      :: 64 +/- 1%
Array: reverse while :: 60 +/- 0%
Array: forEach()     :: 235 +/- 0%

Should in io.js for Array-s also be used for loop instead of forEach?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues asking questions about Node.js.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions