frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Copy-Item is 27% slower than File Explorer

https://til.andrew-quinn.me/posts/copy-item-is-27-percent-slower-than-file-explorer-drag-and-drop-on-windows/
27•hiAndrewQuinn•1h ago

Comments

DustinEchoes•57m ago
Never assume anything done in Powershell is fast.
kg•44m ago
> SFTP is an encrypted protocol, so maybe those CPU cycles add up to a lot of extra work over time or slowdown. That… shouldn’t feel convincing to anyone who gives it more than 15 seconds of thought, but we all live with our eyes wide shut at times.

FWIW, I previously spent some time trying to get the maximum possible throughput when copying files between a Windows host and a Linux VM, and the encryption used by most protocols did actually become a bottleneck eventually. I expect this isn't a big factor on 1gbps ethernet, but I've never measured it.

zaptheimpaler•43m ago
ugh, I don't know why copying files and basic I/O is so fucked on Windows. Recently I was trying to copy some large movie files between 2 folders on an NVME SSD formatted to ExFAT in a good USB-C enclosure connected over 20Gbps USB-C port and explorer would literally just freeze & crash doing that. I had to copy one file at a time to make it not crash, and then it would have this weird I/O pattern where the transfer would do almost nothing for 1-2 minutes, then the speed eventually picked up.

This isn't even going into WSL. I specifically stopped using WSL and moved to a separate linux devbox because of all the weirdness and slowness with filesystem access across the WSL boundary. Something like listing a lot of files would be very slow IIRC. Slightly tangentially, the whole situation around sharing files across OSes is pretty frustrating. The only one that works without 3rd party paid drivers on all 3 major OSes is ExFAT and that is limited in many other ways compared to ext4 or NTFS.

bakugo•35m ago
Just tried copying a 20GB file to my Windows desktop from a mounted Samba share through gigabit ethernet (nvme on both sides). Explorer, Copy-Item and robocopy all saturated the connection with no issues.

There's definitely something off about OP's setup, though I have no idea what it could be. I'd start by checking the latency between the machines. Might also be the network adapter or its drivers.

kachapopopow•29m ago
rsync being that much slower makes no sense since back when I used windows I rsync was saturating 1 gig easily, this has to be running on a very slow pentium or something.
ninkendo•17m ago
My first thought would be some kind of "security" software (maybe even as simple as windows defender) inspecting the files as they're coming in, which might be done for any process not on some allow-list. And maybe the allow-list is basically just "explorer.exe". And maybe it's faster at checking some processes than others.
kichik•32m ago
Invoke-WebRequest is also very slow if you forget to disable the progress bar with $ProgressPreference = 'SilentlyContinue'

PowerShell has some "interesting" design choices...

archi42•27m ago
This is atrocious. I get it, some things are less trivial than they seem - but I would be ashamed for shipping something like this, and even more for not fixing it.
orthoxerox•14m ago
Wasn't something like npm much slower as well when it showed a progress indicator by default?
Lariscus•11m ago
It also buffers the downloaded data completely into memory last time I checked. So downloading a file bigger than the available RAM just doesn't work and you have to use WebClient instead.

Another fun one is Extract-Archive which is painfully slow while using the System.IO.Compression.ZipFile CLR type directly is reasonably fast. Powershell is really a head scratcher sometimes.

cheema33•31m ago
I am not surprised. My Windows 11 systems with modern and beefy hardware frequently runs very slow for reasons unknown. I did use https://github.com/Raphire/Win11Debloat recently and that seemed to have helped. Windows by default comes with a lot of crap that most of us do not use but it consumes resources anyway.

I have been considering a move back to Linux. It is only Microsoft Teams on Windows that I have to use daily that is holding me back.

mft_•5m ago
> I have been considering a move back to Linux. It is only Microsoft Teams on Windows that I have to use daily that is holding me back.

Me too. I've not tried this yet, but will soon: https://github.com/IsmaelMartinez/teams-for-linux

sgc•17m ago
It's fortunately been years since I have used Windows, but it looks like the old staples are still ahead of the curve:

https://fastcopy.jp/

https://www.codesector.com/teracopy

(I have certainly forgotten at least one...)

abbeyj•16m ago
The page is 404 now. It looks like something went wrong when the author was trying to push a small edit to the page. The content is viewable at https://github.com/hiAndrewQuinn/til/blob/main/copy-item-is-...
doormatt•13m ago
Works fine for me.
itsthecourier•16m ago
want to see rsync WSL 1 in that comparison

filesystem should be faster in WSL2 but not if the file resides in the windows path I think

r1ch•5m ago
OP mentions using "Cat 7" cables - please don't buy these. Cat 7 isn't something that exists in TIA/EIA standards, only in ISO/IEC and it requires GG45 or TERA connectors. Cat 7 with RJ45 connectors isn't standardized, so you have no idea what you're actually getting. Stick with pure copper Cat 6A.

Getting AI object removal to run in under 2 seconds in a Figma plugin

https://www.figma.com/community/plugin/1576512610054427811/photo-object-remover-imgour
1•Bikashhh•34s ago•1 comments

Advent Hunt 2025

https://2025.adventhunt.com/
1•thatoneengineer•43s ago•0 comments

Chinese fighters target SDF jets with radar lock-on, Japan says

https://www.japantimes.co.jp/news/2025/12/07/japan/china-japan-radar-lock-on/
1•DustinEchoes•5m ago•0 comments

Show HN: MCP Hosting with Persistent Storage

https://glama.ai/blog/2025-12-06-mcp-hosting-with-persistent-storage
1•statements•8m ago•0 comments

Space Invaders – The Legacy

https://spaceinvaders.square-enix-games.com/legacy
1•andsoitis•9m ago•0 comments

Invader

https://www.space-invaders.com/home/
1•andsoitis•10m ago•0 comments

Saving Japan's exceptionally rare 'snow monsters'

https://www.bbc.com/future/article/20251203-japans-disappearing-snow-monsters
1•1659447091•10m ago•0 comments

Mathematics Without Numbers

https://www.jstor.org/stable/20026529?seq=1
1•andsoitis•12m ago•0 comments

Cloudflare outage, December 7th 2025

1•AlOwain•16m ago•0 comments

2025 Desmos Art Contest

https://www.desmos.com/art
1•downboots•16m ago•0 comments

Ask HN: Is Opus 4.5 scaring the crap out of you as well?

4•consumer451•20m ago•0 comments

Computer-Science Reinforcement Learning Got Rewards Wrong

https://gist.github.com/yoavg/3eb3e722d38e887a0a8ac151c62d9617
1•Anon84•21m ago•0 comments

Mechanical Habits

https://matklad.github.io/2025/12/06/mechanical-habits.html
1•emschwartz•26m ago•0 comments

Neuralink Overview, Fall 2025

https://www.youtube.com/watch?v=QJdgHXyJh7M
2•oars•26m ago•0 comments

RSF massacres left Sudanese city 'a slaughterhouse', satellite images show

https://www.theguardian.com/global-development/2025/dec/05/rsf-massacres-sudanese-city-el-fasher-...
1•reducesuffering•28m ago•0 comments

Hackers Impersonate Brands to Steal YouTube Channels

https://utkusen.substack.com/p/how-hackers-impersonate-brands-to
1•utku1337•29m ago•0 comments

Poetiq: SOTA Reasoning on ARC-AGI

https://github.com/poetiq-ai/poetiq-arc-agi-solver
1•rahimnathwani•34m ago•0 comments

Apple's exec shake-up continues with departures of general counsel, policy head

https://techcrunch.com/2025/12/04/apples-executive-shakeup-continues-with-departures-of-general-c...
7•randycupertino•36m ago•2 comments

Resources for Protecting Against 'React2Shell'

https://vercel.com/blog/resources-for-protecting-against-react2shell
1•lortex•39m ago•0 comments

Wave of (Open Street Map) Vandalism in South Korea

https://www.openstreetmap.org/user/KennyDap/diary/407844
20•shortrounddev2•42m ago•2 comments

Pipetap: A Windows Named Pipe Multi-Tool / Proxy

https://github.com/sensepost/pipetap
1•leonjza•44m ago•0 comments

ReVSeg: Incentivizing the Reasoning Chain for Video Segmentation with RL

https://arxiv.org/abs/2512.02835
1•SweetSoftPillow•45m ago•0 comments

Quick takes on the Dec 5 Cloudflare outage

https://surfingcomplexity.blog/2025/12/06/quick-takes-on-the-dec-5-cloudflare-outage/
2•gpi•45m ago•0 comments

Photographer Built a Medium-Format Rangefinder, and So Can You

https://petapixel.com/2025/12/06/this-photographer-built-an-awesome-medium-format-rangefinder-and...
1•shinryuu•48m ago•0 comments

Beauty and the feast: Effect of beauty on earnings using restaurant tipping data

https://ideas.repec.org/a/eee/joepsy/v49y2015icp34-46.html
2•mhb•50m ago•0 comments

United States Antarctic Program Field Manual (2024) [pdf]

https://www.usap.gov/usapgov/travelAndDeployment/documents/Continental-Field-Manual-2024.pdf
3•SheinhardtWigCo•51m ago•0 comments

Automating Organic Synthesis

https://www.rowansci.com/blog/automating-organic-synthesis-onepot
2•sethbannon•51m ago•0 comments

Show HN: ElfReview – Face detection meets corporate satire for Christmas

https://elfreview.com
1•shoarek•52m ago•0 comments

Do you have short attention span? Check our productivity tool, it might help you

https://dashzz.com
2•razvanbord•57m ago•1 comments

Show HN: Quantum4J–deterministic quantum SDK with OpenQASM and JVM integration

1•vijayanandg•58m ago•0 comments