Skip to content

Commit dfa4b8b

Browse files
committed
docs(readme): update
1 parent 816e806 commit dfa4b8b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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 />
@@ -23,9 +23,9 @@
2323

2424
## motivation
2525

26-
To quickly know the folder sizebut
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

README_ZH.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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 />
@@ -19,7 +19,7 @@
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)

0 commit comments

Comments
 (0)