8000 environmental variable test case · shelljs/benchmarks@19e5ec8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 19e5ec8

Browse files
committed
environmental variable test case
1 parent c131c6b commit 19e5ec8

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

scripts/envVariable/envVar.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
require('shelljs/global');
2+
for (var k=0; k<100000; k++)
3+
echo(env.PATH);

scripts/envVariable/envVar.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
for k in `seq 100000`; do
3+
echo "$PATH"
4+
done
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
0