Skip to content

Commit

Permalink
Update gopool.png location in README.
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hu <[email protected]>

1

Signed-off-by: Daniel Hu <[email protected]>

Signed-off-by: Daniel Hu <[email protected]>
  • Loading branch information
daniel-hutao committed Aug 16, 2023
1 parent 9882ff4 commit 3e13b06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ Welcome to GoPool, **a project with 95% of the code is generated by GPT**. You c

GoPool is a **high-performance**, **feature-rich**, and **easy-to-use** worker pool library for Golang. It is designed to manage and recycle a pool of goroutines to complete tasks concurrently, improving the efficiency and performance of your applications.

<div align="center">
<img src="./logo/gopool.png" width="750">
</div>

## Performance Testing

This table shows the performance testing results for three Go libraries: GoPool, [ants](https://github.com/panjf2000/ants), and [pond](https://github.com/alitto/pond). The table includes the time it takes for each library to process 1 million tasks and the memory consumption in MB.
Expand Down Expand Up @@ -81,6 +77,10 @@ ok github.com/devchat-ai/gopool 3.946s

## Features

<div align="center">
<img src="./logo/gopool.png" width="750">
</div>

- [x] **Task Queue**: GoPool uses a thread-safe task queue to store tasks waiting to be processed. Multiple workers can simultaneously fetch tasks from this queue.

- [x] **Concurrency Control**: GoPool can control the number of concurrent tasks to prevent system overload.
Expand Down
8 changes: 4 additions & 4 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@

GoPool 是一个用 Golang 实现的**高性能****功能丰富****简单易用**的工作池库。它会管理和回收一组 goroutine 来并发完成任务,从而提高你的应用程序的效率和性能。

<div align="center">
<img src="./logo/gopool.png" width="750">
</div>

## 性能测试

这个表格展示了三个 Go 库 GoPool、[ants](https://github.com/panjf2000/ants)[pond](https://github.com/alitto/pond)的性能测试结果。表格包括每个库处理 100 万个任务所需的时间和内存消耗(以 MB 为单位)。
Expand Down Expand Up @@ -81,6 +77,10 @@ ok github.com/devchat-ai/gopool 3.946s

## 特性

<div align="center">
<img src="./logo/gopool.png" width="750">
</div>

- [x] **任务队列**:GoPool 使用一个线程安全的任务队列来存储等待处理的任务。多个工作器可以同时从这个队列中获取任务。

- [x] **并发控制**:GoPool 可以控制并发任务的数量,防止系统过载。
Expand Down

0 comments on commit 3e13b06

Please sign in to comment.