An open API service indexing awesome lists of open source software.

https://github.com/vrnvu/go-pool

sync pool example
https://github.com/vrnvu/go-pool

Last synced: 10 months ago
JSON representation

sync pool example

Awesome Lists containing this project

README

          

# go-pool

We simulate an expensive routine by allocating a buffer of 5MiB at each procedure call.

Usage:
```
go run main.go (-c CALLS) (-p POOL)

Options:
-c, --calls Number of expensive calls to simulate
-p, --pool If present enables pool

Output:
Generates a mem.pprof file in the wd.

Example:
go run main.go --calls 1_000_000 --pool
go run main.go --calls 1_000_000
```