Skip to content

Commit

Permalink
docs(readme): update
Browse files Browse the repository at this point in the history
  • Loading branch information
markthree committed Jul 9, 2023
1 parent 816e806 commit dfa4b8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div align="center">
<img width="100%" height="100%" src="./snapshot.gif" />
<h1><a href="https://github.com/markthree/go-get-folder-size">go-get-folder-size</a></h1>
<p>Get the size of a folder by recursively iterating through all its sub(files && folders). Use go, so high-speed</p>
<p>go concurrently get folder size quickly, can run in nodejs</p>
</div>

<br />
Expand All @@ -23,9 +23,9 @@

## motivation

To quickly know the folder sizebut
[get-folder-size](https://github.com/alessioalex/get-folder-size) is implemented
by nodejs, which is too slow
I want to know the folder size quickly, but the nodejs implementation of
[get-folder-size](https://github.com/alessioalex/get-folder-size) is slow, so using
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

<br />

Expand Down
4 changes: 2 additions & 2 deletions README_ZH.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div align="center">
<img width="100%" height="100%" src="https://raw.githubusercontent.com/markthree/go-get-folder-size/main/snapshot.gif" />
<h1><a href="https://github.com/markthree/go-get-folder-size">go-get-folder-size</a></h1>
<p>递归获取文件夹大小,使用 go,足够快,可以跑在 node 中</p>
<p>go 并发快速获取文件夹大小,可以跑在 nodejs 中</p>
</div>

<br />
Expand All @@ -19,7 +19,7 @@

想要快速知道文件夹大小,但 nodejs 实现的
[get-folder-size](https://github.com/alessioalex/get-folder-size) 是慢的,所以用
go 实现了递归获取文件夹大小,能跑在 nodejs 中
go 实现了递归获取文件夹大小,能跑在 nodejs 中,正常情况下,比 node 原生方案快 `7 ~ 20`

具体可见 issue 👉
[get-folder-size/issues/22](https://github.com/alessioalex/get-folder-size/issues/22)
Expand Down

0 comments on commit dfa4b8b

Please sign in to comment.