Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created May 5, 2017 07:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/b0e8ea6dd23f0d2d24135aef18ff3bf6 to your computer and use it in GitHub Desktop.
Save isaacs/b0e8ea6dd23f0d2d24135aef18ff3bf6 to your computer and use it in GitHub Desktop.
> tar@2.2.1 bench /Users/isaacs/dev/js/tar
> for i in benchmarks/*/*.js; do echo $i; for j in {1..5}; do node $i || break; done; done
benchmarks/create/node-tar-file-async.js
383.019676
359.974358
342.643618
358.384905
336.993626
benchmarks/create/node-tar-file-sync.js
350.346383
294.364498
308.586188
317.705271
338.074543
benchmarks/create/node-tar-stream-async.js
371.905795
346.633939
347.941165
336.404655
355.015453
benchmarks/create/node-tar-stream-sync.js
314.910437
306.434647
330.21786
325.704279
341.994654
benchmarks/create/old-async.js
951.297353
936.077767
915.170099
892.722641
910.893696
benchmarks/create/pack-async.js
349.039612
333.114144
322.143016
338.410137
336.056115
benchmarks/create/pack-sync.js
307.708558
297.007988
301.672491
340.935995
285.395376
benchmarks/create/tar-fs-async.js
444.473132
479.086945
495.953806
457.132628
489.577572
benchmarks/extract/node-tar-file-async.js
1170.891482
1006.164749
1068.104976
1092.735204
1152.419027
benchmarks/extract/node-tar-file-sync.js
1376.783039
1332.972749
1333.138527
1352.781817
1592.782109
benchmarks/extract/node-tar-stream-async.js
1268.254903
1128.372456
1011.592995
1264.323297
1056.697456
benchmarks/extract/node-tar-stream-sync.js
1277.236066
1241.770828
1277.867037
1275.70689
1363.745408
benchmarks/extract/old-async.js
2865.1533520000003
3253.686496
2956.700048
3410.550464
3488.506746
benchmarks/extract/old-sync.js
3019.378656
3250.449125
2959.790271
3016.37177
3059.171013
benchmarks/extract/tar-fs-async.js
3507.439431
3374.178549
3338.65459
3521.836416
3512.988564
benchmarks/extract/tar-fs-sync.js
3348.414954
3588.438458
3411.10415
3468.519496
3387.25759
benchmarks/extract/unpack-async.js
1277.7006999999999
1212.864555
1202.60949
1184.482815
1174.581859
benchmarks/extract/unpack-sync.js
1464.58166
1507.8960710000001
1464.529004
1448.395571
1414.528907
benchmarks/parse/fast-scan-no-body.js
101.83664
114.567816
112.952394
117.074657
112.435832
benchmarks/parse/fast-scan.js
138.755116
149.525252
147.732416
139.248824
127.323791
benchmarks/parse/node-tar-file-async.js
170.269077
191.153519
187.600342
174.228176
182.551719
benchmarks/parse/node-tar-file-sync.js
168.64693
168.446689
173.346285
168.655139
173.950314
benchmarks/parse/node-tar-stream-async.js
204.669822
177.135886
187.290721
204.459737
172.450732
benchmarks/parse/node-tar-stream-sync.js
168.173948
160.37669
179.944816
158.101991
167.843537
benchmarks/parse/old-async.js
200.657698
205.139944
180.874943
201.061292
214.454933
benchmarks/parse/old-sync.js
154.400297
145.220858
162.270699
148.351125
158.201983
benchmarks/parse/parse-async.js
170.45751
180.636062
179.356994
184.669402
184.484492
benchmarks/parse/parse-sync.js
133.463711
154.91148
123.517842
153.362334
142.643021
benchmarks/parse/tar-stream-async.js
165.727372
162.283387
160.551707
171.860059
164.36914
benchmarks/parse/tar-stream-sync.js
127.566841
129.26758
130.361739
147.784728
140.1462
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment