Commit Graph

11 Commits

Author SHA1 Message Date
Andy Pan a59f51fefd update 2018-05-20 01:38:50 +08:00
Andy Pan 0423264ffa use WaitGroup to wait all goroutines to exit 2018-05-19 19:51:33 +08:00
Andy Pan 0fd8ba8dae use the "container/list" to keep workers 2018-05-19 19:08:31 +08:00
Andy Pan 2929cede54 use sync.Pool 2018-05-19 18:24:36 +08:00
Andy Pan 0c7ba6d3ac optimization 2018-05-19 16:10:38 +08:00
Andy Pan 04e6d942d4 add benchmark test 2018-05-19 15:57:04 +08:00
Andy Pan 2f6f0de82b update go test 2018-05-19 15:22:14 +08:00
Andy Pan 5c30d8f881 update 2018-05-19 13:11:21 +08:00
Andy Pan 8ff88950b8 add codes for reusing workers 2018-05-19 13:09:44 +08:00
Andy Pan b7b2b27596 reuse workers 2018-05-19 12:57:01 +08:00
Andy Pan c7cac2be5f init proj 2018-05-19 12:28:03 +08:00