$ cd /dev/shm/
$ git clone [email protected]:denoland/pm-benchmark.git
$ cd pm-benchmark/
$ mkdir testbed
$ cp -R fixture/* testbed/
$ cd testbed/
$ sync
$ sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"
[sudo] password for andrew:
$ time deno i
Warning The following packages are deprecated:
┠─ npm:[email protected][email protected][email protected] (this package has been deprecated)
┠─ npm:[email protected] (This version is no longer supported. Please see https://eslint.org/version-support for other options.)
┠─ npm:[email protected] (Rimraf versions prior to v4 are no longer supported)
┠─ npm:@babel/[email protected]_@[email protected] (This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.)
┠─ npm:@babel/[email protected]_@[email protected] (This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.)
┠─ npm:@babel/[email protected]_@[email protected] (This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.)
┠─ npm:@babel/[email protected]_@[email protected] (This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.)
┠─ npm:@babel/[email protected]_@[email protected] (This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.)
┠─ npm:@humanwhocodes/[email protected] (Use @eslint/config-array instead)
┠─ npm:[email protected] (Use your platform's native atob() and btoa() methods instead)
┠─ npm:[email protected][email protected]_@[email protected][email protected] (this package has been deprecated)
┠─ npm:[email protected] (this will be v4)
┠─ npm:[email protected] (Glob versions prior to v9 are no longer supported)
┠─ npm:@humanwhocodes/[email protected] (Use @eslint/object-schema instead)
┠─ npm:[email protected] (This SVGO version is no longer supported. Upgrade to v2.x.x.)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected][email protected] (This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] ([email protected])
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.)
┠─ npm:[email protected] (Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility)
┠─ npm:[email protected] (You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
(For a CapTP with native promises, see @endo/eventual-send and @endo/captp))
┠─ npm:[email protected] (Please use @jridgewell/sourcemap-codec instead)
┠─ npm:[email protected] (Use your platform's native DOMException instead)
┖─ npm:[email protected] (Use your platform's native performance.now() and performance.timeOrigin.)
Warning The following packages contained npm lifecycle scripts (preinstall/install/postinstall) that were not executed:
┠─ npm:[email protected]
┠─ npm:[email protected]
┃
┠─ This may cause the packages to not work correctly.
┖─ To run lifecycle scripts, use the `--allow-scripts` flag with `deno install`:
deno install --allow-scripts=npm:[email protected],npm:[email protected]
real 2m20.793s
user 0m7.408s
sys 0m4.025s
$ du -sch ./
275M ./
275M total
$ cd ..
andrew@inspiron:/dev/shm/pm-benchmark$ rm -fr testbed/
andrew@inspiron:/dev/shm/pm-benchmark$ mkdir testbed
andrew@inspiron:/dev/shm/pm-benchmark$ cp -R fixture/* testbed/
andrew@inspiron:/dev/shm/pm-benchmark$ cd testbed/
$ sync
$ sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"
$ time bun i
bun install v1.1.30 (7996d06b)
+ @testing-library/[email protected] (v6.5.0 available)
+ @testing-library/[email protected] (v16.0.1 available)
+ @testing-library/[email protected] (v14.5.2 available)
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected] (v4.2.3 available)
1263 packages installed [137.33s]
Blocked 2 postinstalls. Run `bun pm untrusted` for details.
real 2m18.774s
user 0m3.058s
sys 0m4.336s
$ du -sch ./
310M ./
310M total
$ cd ..
andrew@inspiron:/dev/shm/pm-benchmark$ rm -fr testbed/
andrew@inspiron:/dev/shm/pm-benchmark$ mkdir testbed
andrew@inspiron:/dev/shm/pm-benchmark$ cp -R fixture/* testbed/
andrew@inspiron:/dev/shm/pm-benchmark$ cd testbed/
$ sync
$ sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"
$ time deno i
Warning The following packages are deprecated:
┠─ npm:[email protected][email protected][email protected] (this package has been deprecated)
┠─ npm:[email protected] (Use your platform's native atob() and btoa() methods instead)
┠─ npm:[email protected] (Rimraf versions prior to v4 are no longer supported)
┠─ npm:@babel/[email protected]_@[email protected] (This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.)
┠─ npm:@babel/[email protected]_@[email protected] (This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.)
┠─ npm:@babel/[email protected]_@[email protected] (This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.)
┠─ npm:@babel/[email protected]_@[email protected] (This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.)
┠─ npm:@babel/[email protected]_@[email protected] (This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.)
┠─ npm:@humanwhocodes/[email protected] (Use @eslint/config-array instead)
┠─ npm:[email protected] (Glob versions prior to v9 are no longer supported)
┠─ npm:[email protected][email protected]_@[email protected][email protected] (this package has been deprecated)
┠─ npm:[email protected] (this will be v4)
┠─ npm:[email protected] (This version is no longer supported. Please see https://eslint.org/version-support for other options.)
┠─ npm:[email protected] ([email protected])
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (This SVGO version is no longer supported. Upgrade to v2.x.x.)
┠─ npm:[email protected][email protected] (This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:@humanwhocodes/[email protected] (Use @eslint/object-schema instead)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (this package has been deprecated)
┠─ npm:[email protected] (Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility)
┠─ npm:[email protected] (You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
(For a CapTP with native promises, see @endo/eventual-send and @endo/captp))
┠─ npm:[email protected] (Please use @jridgewell/sourcemap-codec instead)
┠─ npm:[email protected] (Use your platform's native DOMException instead)
┖─ npm:[email protected] (Use your platform's native performance.now() and performance.timeOrigin.)
Warning The following packages contained npm lifecycle scripts (preinstall/install/postinstall) that were not executed:
┠─ npm:[email protected]
┠─ npm:[email protected]
┃
┠─ This may cause the packages to not work correctly.
┖─ To run lifecycle scripts, use the `--allow-scripts` flag with `deno install`:
deno install --allow-scripts=npm:[email protected],npm:[email protected]
real 0m2.516s
user 0m1.810s
sys 0m2.503s
$ du -sch ./
275M ./
275M total
$ cd ..
andrew@inspiron:/dev/shm/pm-benchmark$ rm -fr testbed/
andrew@inspiron:/dev/shm/pm-benchmark$ mkdir testbed
andrew@inspiron:/dev/shm/pm-benchmark$ cp -R fixture/* testbed/
andrew@inspiron:/dev/shm/pm-benchmark$ cd testbed/
$ sync
$ sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"
$ time bun i
bun install v1.1.30 (7996d06b)
+ @testing-library/[email protected] (v6.5.0 available)
+ @testing-library/[email protected] (v16.0.1 available)
+ @testing-library/[email protected] (v14.5.2 available)
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected] (v4.2.3 available)
1263 packages installed [5.74s]
Blocked 2 postinstalls. Run `bun pm untrusted` for details.
real 0m5.772s
user 0m0.231s
sys 0m1.480s
$ du -sch ./
310M ./
310M total
Last active
October 15, 2024 00:38
-
-
Save billywhizz/b9bffaf0c97d5ea9f1fc5ad29a5cf8c4 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment