Commit Graph

68 Commits

Author SHA1 Message Date
Andy Pan 00294fd50b 😏 Optimization of the structure and style 2019-04-14 11:08:06 +08:00
Andy Pan cd84ab67b3 🍜 Restore comments 2019-04-14 11:08:06 +08:00
Andy Pan 05fbdb8d5b 🎭 Fix race error 2019-04-14 11:08:06 +08:00
Andy Pan aa7dd6f8cc 🦖 Develop a more graceful release 2019-04-14 11:08:06 +08:00
Andy Pan 4ae3fb8dc4 🏆 Code coverage improvement 2019-02-23 00:46:49 +08:00
Andy Pan 8bb0cde224 🌏 Reduce the threshold time of cleaning up goroutines in test code 2019-02-23 00:29:27 +08:00
Andy Pan b8d6f7f9d6 ☃️ Update go test for new function name 2019-02-19 20:10:01 +08:00
Andy Pan c80af4dd6e 🐻 gofmt code 2019-01-29 20:51:34 +08:00
Andy Pan e988680ffc 🎷 Reset the unit tests to default core number 2019-01-27 13:32:40 +08:00
Andy Pan 72bf8e2fb5 🎠 Do the code coverage test with multiple-cores and skip it when it is single-core 2019-01-27 12:57:53 +08:00
Andy Pan c4d92bf4ef 🍁 Replace the data type of periodical duration with a constant 2019-01-27 12:16:51 +08:00
Andy Pan 182c335275 🍩 Unit tests improvement: more functions to cover more code 2019-01-27 05:31:29 +08:00
Andy Pan 822158c59c 🐳 Add test cases for sync.Pool 2019-01-27 05:10:13 +08:00
Andy Pan 840634ae51 🐳 Add test cases for sync.Pool 2019-01-27 05:10:13 +08:00
Andy Pan 689d74c63b Refactor about the synchronous lock 2019-01-27 04:05:58 +08:00
Andy Pan 049de4139f 🐾 Refactor unit tests to support sync.Pool testing 2019-01-27 03:15:19 +08:00
Andy Pan deff3a2beb 🦖 Add more unit tests for the near-perfect code coverage 2019-01-27 02:32:37 +08:00
Andy Pan 29f47ced64 🌊 Updated to fit the refactor 2019-01-27 00:06:32 +08:00
Andy Pan a0364a1128 🐜 Reduce blank lines 2019-01-25 21:55:25 +08:00
Andy Pan b9fb286d00 gofmt source code 2019-01-22 22:38:50 +08:00
Cholerae Hu 9158bd3702 feature: add PanicHandler
Signed-off-by: Cholerae Hu <choleraehyq@gmail.com>
2019-01-22 13:41:33 +08:00
Andy Pan 2093372461 update example codes of integrating with http server 2018-12-03 14:32:39 +08:00
Andy Pan 869bcf840e gofmt code 2018-12-03 10:30:10 +08:00
Andy Pan 22c71e561b add usage of integrating with http server 2018-12-02 21:53:43 +08:00
Andy Pan d8c168b198 remove useless return value from pool function 2018-12-01 19:22:05 +08:00
Andy Pan 711dbdb7a2 optimization for benchmark test 2018-10-03 20:55:39 +08:00
Andy Pan a6b909f98d update import path 2018-09-29 19:32:52 +08:00
Andy Pan 9a3b5cd253
Merge pull request #13 from liyonglion/master
解决死循环导致cpu占用率过高
2018-09-29 19:29:53 +08:00
liyonglion 912aa76987 遗漏文件 2018-09-29 10:20:43 +08:00
Andy Pan 1f12f5a4d2 update go test 2018-09-28 20:10:59 +08:00
Andy Pan b1e6e05756 update 2018-08-31 23:13:22 +08:00
Andy Pan 1833ff6764 optimization for go test 2018-08-04 10:34:02 +08:00
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