mirror of
https://github.com/panjf2000/ants.git
synced 2025-12-16 18:11:03 +00:00
🦄 Add performance diagram
This commit is contained in:
parent
56c4356734
commit
cf89f4e279
@ -244,9 +244,11 @@ In above benchmark picture, the first and second benchmarks performed test cases
|
||||
|
||||
#### 10M tasks
|
||||
|
||||

|
||||

|
||||
|
||||
There was only the test case with `ants` pool because my program crashed when it reached 10M goroutines without using a pool.
|
||||
### Performance Summary
|
||||
|
||||

|
||||
|
||||
**In conclusion, `ants` can up to 2x~6x faster than goroutines without a pool and the memory consumption is reduced by 10 to 20 times.**
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user