Skip to content

Update results with up to date bash/nodejs combination #14

@pavelloz

Description

@pavelloz

With new versions available (up to date bash, nodejs), i think benchmark results are even more flattering.

Especially that line looks cool:

ShellJS was 219.411 times faster than Bash

System Information:

  • Darwin
  • 17.7.0
  • x64
  • Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz × 8

Node information

v12.5.0

  • Node.js: v12.5.0
  • V8: 7.5.288.22-node.14

Shell Information:

  • name: /bin/bash
  • version: GNU bash, version 5.0.7(1)-release (x86_64-apple-darwin17.7.0)
    Copyright (C) 2019 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
    This is free software; you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

[echoIntoFile]

  • [Bash] took 2280 milliseconds
  • [ShellJS 0.5.3] took 414 milliseconds
  • [ShellJS 0.6.0] took 426 milliseconds
  • [ShellJS latest] took 106 milliseconds
    ShellJS was 21.509 times faster than Bash
    =======================

[envVariable]

  • [Bash] took 228 milliseconds
  • [ShellJS 0.5.3] took 259 milliseconds
  • [ShellJS 0.6.0] took 257 milliseconds
  • [ShellJS latest] took 109 milliseconds
    Output differs
    ShellJS was 2.092 times faster than Bash
    =======================

[forLoopAlternateSyntax]

  • [Bash] took 79 milliseconds
  • [ShellJS 0.5.3] took 140 milliseconds
  • [ShellJS 0.6.0] took 134 milliseconds
  • [ShellJS latest] took 110 milliseconds
    Output differs
    Bash was 1.392 times faster than ShellJS
    =======================

[helloworld]

  • [Bash] took 67 milliseconds
  • [ShellJS 0.5.3] took 119 milliseconds
  • [ShellJS 0.6.0] took 119 milliseconds
  • [ShellJS latest] took 114 milliseconds
    Output differs
    Bash was 1.701 times faster than ShellJS
    =======================

[helloworld10k]

  • [Bash] took 152 milliseconds
  • [ShellJS 0.5.3] took 228 milliseconds
  • [ShellJS 0.6.0] took 235 milliseconds
  • [ShellJS latest] took 108 milliseconds
    Output differs
    ShellJS was 1.407 times faster than Bash
    =======================

[ls10k]

  • [Bash] took 23477 milliseconds
  • [ShellJS 0.5.3] took 667 milliseconds
  • [ShellJS 0.6.0] took 697 milliseconds
  • [ShellJS latest] took 107 milliseconds
    Output differs
    ShellJS was 219.411 times faster than Bash
    =======================

[pwd10k]

  • [Bash] took 631 milliseconds
  • [ShellJS 0.5.3] took 2183 milliseconds
  • [ShellJS 0.6.0] took 1911 milliseconds
  • [ShellJS latest] took 111 milliseconds
    Output differs
    ShellJS was 5.685 times faster than Bash
    =======================

[touchSyntax0.6]

  • [Bash] took 3971 milliseconds
  • Skipping test for ShellJS 0.5.3
  • [ShellJS 0.6.0] took 348 milliseconds
  • [ShellJS latest] took 113 milliseconds
    ShellJS was 35.142 times faster than Bash
    =======================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions