Commit Graph

69 Commits

Author SHA1 Message Date
Andy Pan fb82167503
opt: fall back to LeastTasks when RoundRobin can't find a worker (#306)
Besides, update a few comments and add new benchmarks for multi-pool
2023-11-21 13:22:02 +08:00
Andy Pan 19bd1ea02b
feat: add MultiPool and MultiPoolWithFunc (#305) 2023-11-21 11:53:46 +08:00
Andy Pan 7b1e246b0e chore: add errorgroup for benchmark 2022-12-11 19:49:58 +08:00
Andy Pan 846d76a437 opt: cache current time for workders and update it periodically 2022-12-11 19:49:58 +08:00
Andy Pan 566511ec5f Refactoring to the interface and implementations of worker-array 2019-10-10 03:02:04 +08:00
Andy Pan cbf8ddf048 Fixed #45 and Releasing v2 module 2019-08-25 14:26:14 +08:00
Cholerae Hu 444711e79f support nonblocking submit and max blocking limit setting
Signed-off-by: Cholerae Hu <choleraehyq@gmail.com>
2019-08-25 14:14:18 +08:00
Andy Pan b4dce88db7 🎏Fix some ill-formed code in unit tests 2019-08-25 14:13:57 +08:00
Andy Pan 05e96abd61 🍑 Do gofmt 2019-04-23 20:33:34 +08:00
Andy Pan aa7dd6f8cc 🦖 Develop a more graceful release 2019-04-14 11:08:06 +08:00
Andy Pan c91d3d6991 🍏 Update benchmark test for new function name 2019-02-19 20:10:31 +08:00
Andy Pan e65a7d49b7 🐿 Simplify code. 2019-01-25 21:36:28 +08:00
Andy Pan d8c168b198 remove useless return value from pool function 2018-12-01 19:22:05 +08:00
Andy Pan 846a758f65 update benchmark test 2018-12-01 18:40:19 +08:00
Andy Pan 711dbdb7a2 optimization for benchmark test 2018-10-03 20:55:39 +08:00
Egon Elbre 3070771e41 reset param change 2018-10-03 10:15:09 +03:00
Egon Elbre c1738ae964 fix benchmarks and add semaphore 2018-10-03 10:12:58 +03:00
Andy Pan e238e0fad0 update go test 2018-09-29 19:37:09 +08:00
Andy Pan a6b909f98d update import path 2018-09-29 19:32:52 +08:00
liyonglion 1846b4392a 解决竞争锁导致bug 2018-09-29 14:58:58 +08:00
liyonglion 912aa76987 遗漏文件 2018-09-29 10:20:43 +08:00
Andy Pan 1dac82c4c5 update 2018-09-19 00:27:50 +08:00
Andy Pan 833b6e29ac update 2018-08-31 23:42:56 +08:00
Andy Pan 4927155de3 fixed issue #6 2018-08-03 21:15:11 +08:00
Andy Pan 32d4903f95 add more test 2018-07-21 19:34:15 +08:00
Andy Pan 077ca09e0b
update codecov test 2018-07-16 12:45:28 +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 86cea41d7e optimization for codecov 2018-07-15 23:11:05 +08:00
Andy Pan 9b4f9c7b48 update codecov test 2018-07-15 22:45:55 +08:00
Andy Pan 48cb233e4d update 2018-07-15 21:22:20 +08:00
Andy Pan 23c80e1158 add codecov test 2018-07-15 20:50:10 +08:00
Andy Pan c4a50a1867 optimization for pool 2018-07-13 00:11:42 +08:00
Andy Pan 2e7d823141 optimization for timed task to clear idle workers 2018-07-08 10:29:12 +08:00
Andy Pan 6da1112dff gofmt 2018-07-06 20:24:47 +08:00
andy pan 02a168974d add expired time in go test 2018-07-06 14:40:43 +08:00
andy pan 5c1e3a17bb formatted testing codes 2018-07-02 14:56:20 +08:00
andy pan 8ad523ca08 defer release pool 2018-07-02 14:39:31 +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 849d3cf828 Merge branch 'develop' 2018-06-15 11:37:15 +08:00
andy pan b6f91756ab update benchmark test code 2018-06-07 14:12:47 +08:00
andy pan d9363d36ec update - 2018-05-28 19:19: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 ff4b7d8a22 update 2018-05-24 18:30:58 +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 8e7ee16f0d update benchmarks 2018-05-23 16:43:05 +08:00
andy pan 19e41472a9 update - 2018-05-23 11:05:23 +08:00