Commit Graph

86 Commits

Author SHA1 Message Date
barryz 83042d7095 pre-allocate the capacity of the worker list 2018-07-25 22:28:11 +08:00
Andy Pan 32d4903f95 add more test 2018-07-21 19:34:15 +08:00
Andy Pan eaf79d239f fixed some issues 2018-07-16 01:21:23 +08:00
Andy Pan c186871e60 update 2018-07-15 23:58:09 +08:00
Andy Pan 68d55de6f8 update 2018-07-15 23:34:12 +08:00
Andy Pan 9b4f9c7b48 update codecov test 2018-07-15 22:45:55 +08:00
Andy Pan 4a1439ac90 update 2018-07-15 21:27:45 +08:00
Andy Pan 48cb233e4d update 2018-07-15 21:22:20 +08:00
Andy Pan 74e49c9f28 fixed race issue 2018-07-15 21:16:27 +08:00
Andy Pan cc81c9573f update 2018-07-15 20:51:14 +08:00
Andy Pan 23c80e1158 add codecov test 2018-07-15 20:50:10 +08:00
andy pan cca93c8dfc release the pool in testing 2018-07-02 14:35:02 +08:00
andy pan 926f57c696 close the pool after testing 2018-07-02 14:26:17 +08:00
Andy Pan 6fa37b8aa7 update go test and readme 2018-05-27 22:41:55 +08:00
Andy Pan 5326374a22 Auto stash before merge of "develop" and "origin/develop" 2018-05-24 23:43:34 +08:00
andy pan 08a652b1dc go test optimization 2018-05-24 13:35:57 +08:00
andy pan 2e3a9a650e update go test 2018-05-23 17:21:39 +08:00
andy pan 86325a5f3e update - 2018-05-23 11:17:00 +08:00
andy pan d606fb79f6 benchmarks updated 2018-05-22 18:00:15 +08:00
Andy Pan 967b0b04e2 optimization 2018-05-22 12:01:00 +08:00
Andy Pan 63ebcb38dd update go test and benchmarks test 2018-05-22 11:17:19 +08:00
Andy Pan 0244b2356f update MIT license info 2018-05-20 23:57:48 +08:00
Andy Pan 47e2b9efaa gofmt 2018-05-20 21:29:38 +08:00
Andy Pan 8ce8486b70 add copyright for go test 2018-05-20 21:25:59 +08:00
Andy Pan 4d7d0b1a8a update go test 2018-05-20 21:21:56 +08:00
Andy Pan 301221be5d add all comments 2018-05-20 21:09:45 +08:00
Andy Pan 1ee8144272 add a new module of cleaning up goroutines 2018-05-20 18:57:11 +08:00
Andy Pan ddcdb57b63 pass the benchmark test 2018-05-20 16:22:56 +08:00
Andy Pan 5b274e54b4 test 2018-05-20 11:51:14 +08:00
Andy Pan 91349c14bb use sync.Pool to recycle goroutines 2018-05-20 02:52:39 +08:00
Andy Pan 315a18400c update go test 2018-05-19 20:16:33 +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 2f6f0de82b update go test 2018-05-19 15:22:14 +08:00
Andy Pan e683ddc821 add go test 2018-05-19 12:33:29 +08:00