__LINE__); exit(1); } printf("begin in loop./n"); while (1) { nfds = epoll_wait(epoll_fd, events, BUF_EV_LEN, 1000); //sleep(3); if(nfds>5) printf("connect num: %d/n", nfds); if (nfds == -1) { printf("End at: %d
My biggest concern here is introducing asyncio for just one function, while using regular threadpools everywhere else. I think asyncio is great and we should probably switch everything to it - but it's a fairly big and risky change, so we should do it separately, not as part of a perfo...
avg 0.13 ms per query # 'pymysql-pool' uses connection pool (as long as the pool is greater than 1, it doesn't matter because the test logic is executed sequentially in a for loop). ➜ pymysql-pool ✗ python3 simple-benchmark.py pymysql-pool 50000 total 50000 finish within 6.999...
ret = rdp_event_loop_add_fd(loop, source->data_source_fd, WL_EVENT_WRITABLE, success ? clipboard_data_source_write : clipboard_data_source_fail, source,&source->transfer_event_source); This was referencedMar 7, 2023 Sign up for freeto join this conversation on GitHub. Already have an ...