You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
=======================
The text was updated successfully, but these errors were encountered:
pavelloz
changed the title
Refresh results
Update results with up to date bash/nodejs combination
Jul 4, 2019
I was just going to submit PR with updated results when i noticed "Output differs".
I slapped couple writeLogs() in there to see if the difference is substantial and it looks like the most amazing results are when shelljs is not outputting anything, which in those kinds of tests means there's a whole lot less to do :)
With new versions available (up to date bash, nodejs), i think benchmark results are even more flattering.
Especially that line looks cool:
System Information:
Node information
v12.5.0
Shell Information:
/bin/bash
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]
2280
milliseconds414
milliseconds426
milliseconds106
millisecondsShellJS was
21.509
times faster than Bash=======================
[envVariable]
228
milliseconds259
milliseconds257
milliseconds109
millisecondsOutput differs
ShellJS was
2.092
times faster than Bash=======================
[forLoopAlternateSyntax]
79
milliseconds140
milliseconds134
milliseconds110
millisecondsOutput differs
Bash was
1.392
times faster than ShellJS=======================
[helloworld]
67
milliseconds119
milliseconds119
milliseconds114
millisecondsOutput differs
Bash was
1.701
times faster than ShellJS=======================
[helloworld10k]
152
milliseconds228
milliseconds235
milliseconds108
millisecondsOutput differs
ShellJS was
1.407
times faster than Bash=======================
[ls10k]
23477
milliseconds667
milliseconds697
milliseconds107
millisecondsOutput differs
ShellJS was
219.411
times faster than Bash=======================
[pwd10k]
631
milliseconds2183
milliseconds1911
milliseconds111
millisecondsOutput differs
ShellJS was
5.685
times faster than Bash=======================
[touchSyntax0.6]
3971
milliseconds348
milliseconds113
millisecondsShellJS was
35.142
times faster than Bash=======================
The text was updated successfully, but these errors were encountered: