- Notifications
You must be signed in to change notification settings - Fork1
Collection of benchmarks for ShellJS
License
shelljs/benchmarks
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Collection of benchmarks for ShellJS
Note: benchmark results will be moving to Github Pages - stay tuned.
This is a comparison ofShellJS and bash for performance. Each test caseruns scripts with equivalent output and compares Bash's runtime with ShellJS's.Surprisingly, ShellJS is often the winner, sometimes being up to12x faster!Woohoo! See below forShellJS performance wins.
Linux
4.2.0-30-generic
x64
Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz × 4
Node.js: v5.3.0
V8: 4.6.85.31
name:
/bin/bashversion: GNU bash, version 4.3.42(1)-release (x86_64-pc-linux-gnu)Copyright (C) 2013 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or laterhttp://gnu.org/licenses/gpl.htmlThis is free software; you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.
Bash took
842millisecondsShellJS 0.5.3 took
252millisecondsShellJS 0.6.0 took
270millisecondsShellJS latest took
178milliseconds
ShellJS was4.730 times faster than Bash
Bash took
314millisecondsShellJS 0.5.3 took
281millisecondsShellJS 0.6.0 took
293millisecondsShellJS latest took
618milliseconds
Bash was1.968 times faster than ShellJS
Bash took
91millisecondsShellJS 0.5.3 took
184millisecondsShellJS 0.6.0 took
185millisecondsShellJS latest took
235milliseconds
Bash was2.582 times faster than ShellJS
Bash took
84millisecondsShellJS 0.5.3 took
195millisecondsShellJS 0.6.0 took
175millisecondsShellJS latest took
175milliseconds
Bash was2.083 times faster than ShellJS
Bash took
208millisecondsShellJS 0.5.3 took
326millisecondsShellJS 0.6.0 took
264millisecondsShellJS latest took
760milliseconds
Bash was3.654 times faster than ShellJS
Bash took
10334millisecondsShellJS 0.5.3 took
690millisecondsShellJS 0.6.0 took
748millisecondsShellJS latest took
1115milliseconds
ShellJS was9.268 times faster than Bash
Bash took
632millisecondsShellJS 0.5.3 took
1625millisecondsShellJS 0.6.0 took
2343millisecondsShellJS latest took
6133milliseconds
Bash was9.704 times faster than ShellJS
Bash took
1392millisecondsSkipping test for ShellJS 0.5.3
ShellJS 0.6.0 took
270millisecondsShellJS latest took
465milliseconds
ShellJS was2.994 times faster than Bash
About
Collection of benchmarks for ShellJS
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors4
Uh oh!
There was an error while loading.Please reload this page.