To further clarify, none of the package managers in the benchmark are downloading packages from the registry.
The benchmark assumes all tools already have a lockfile, caches are hot, and `node_modules` has been wiped. As Evan pointed out some tools hit the npm API to resolve dependency versions even if a lockfile exists. (This is not the same as re-downloading the package.)
We run the vanilla "install" command for each tool. Bun doesn't hit the registry API if a lockfile exists. That fact that other tools do is surprising and arguably a design flaw
I ran some tweaked versions (M1 Macbook Pro) of our benchmark. Screenshots attached as well.
With offline mode, with lockfile:
- 9x faster that pnpm
- 7x faster than npm
- 5x faster than Yarn 1
With offline mode, without lockfile:
- 8x faster than pnpm
- 8x faster than npm
- 47x faster than Yarn 1 (resolution is slow)
As Evan points out, all the benchmarks narrow significantly when you're downloading packages over network since downloading becomes the dominant factor in overall runtime
I'll update the `bench/install` readme to add some of these variants
@elonmusk Those horizontal beams of sunlight in the morning, 🌅.
The glow of a Huge full moon, 🌝.
Learning new things, 🧠.
Reflection after difficult task.
@ZeroAdamEleven shortcuts are the best!
my favs:
-[ctrl+d]
hold [ctrl]
tap [d]
repeat til desired instances selected for group copy/paste/edit
-[shift+alt+⬇]=>duplicate line(s)
-[🪟s+arrow]=>dock current window to side/(tap arrow =>cycle thru dock points)
-[ctrl+shift+a]=>alphabetize(ext req'd)
@chuvabak @withFND This is a 'how' not a 'what' issue.
mining rigs produce 0 carbon, everrrrrrrr....
(They have no exhaust pipe or internal combustion engine)
the problem rests not in What our electricity powers, but How that power is sourced...
NFT's are harmless. Fossil Fuels are the real target.
apparently they ~DO~ have "container types"!
array types - fixed-length
slice type - dynamic-length and dynamic-capacity
map types - maps are associative arrays (or dictionaries). The standard Go compiler implements maps as hashtables.
https://t.co/Q1PDknNm3y
I think I have come to learn that go has structs rather than classes but does it have dicts/objects and arrays/lists
Golang tutorials from golangbot https://t.co/4CARJfhGfS
Lex Fridman was one sharp mother on this day.
if(@lexfridman===TonyStark){
Watch "Playing Guitar in MIT Autonomous Vehicle (Driver Activity Recognition)" on YouTube https://t.co/7WOZ5fx1XN }