File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11<div align =" center " >
22 <img width="100%" height="100%" src="./snapshot.gif" />
33 <h1><a href="https://github.com/markthree/go-get-folder-size">go-get-folder-size</a></h1>
4- <p>Get the size of a folder by recursively iterating through all its sub(files && folders). Use go, so high-speed </p>
4+ <p>go concurrently get folder size quickly, can run in nodejs </p>
55</div >
66
77<br />
2323
2424## motivation
2525
26- To quickly know the folder size, but
27- [ get-folder-size] ( https://github.com/alessioalex/get-folder-size ) is implemented
28- by nodejs, which is too slow 。
26+ I want to know the folder size quickly, but the nodejs implementation of
27+ [ get-folder-size] ( https://github.com/alessioalex/get-folder-size ) is slow, so using
28+ go implements a recursive get folder size that runs in nodejs and is ` 7 ~ 20 ` times faster than the node native solution under normal circumstances 。
2929
3030<br />
3131
Original file line number Diff line number Diff line change 11<div align =" center " >
22 <img width="100%" height="100%" src="https://raw.githubusercontent.com/markthree/go-get-folder-size/main/snapshot.gif" />
33 <h1><a href="https://github.com/markthree/go-get-folder-size">go-get-folder-size</a></h1>
4- <p>递归获取文件夹大小,使用 go,足够快, 可以跑在 node 中</p>
4+ <p>go 并发快速获取文件夹大小, 可以跑在 nodejs 中</p>
55</div >
66
77<br />
1919
2020想要快速知道文件夹大小,但 nodejs 实现的
2121[ get-folder-size] ( https://github.com/alessioalex/get-folder-size ) 是慢的,所以用
22- go 实现了递归获取文件夹大小,能跑在 nodejs 中。
22+ go 实现了递归获取文件夹大小,能跑在 nodejs 中,正常情况下,比 node 原生方案快 ` 7 ~ 20 ` 倍
2323
2424具体可见 issue 👉
2525[ get-folder-size/issues/22] ( https://github.com/alessioalex/get-folder-size/issues/22 )
You can’t perform that action at this time.
0 commit comments