enum-class / cring Goto Github PK
View Code? Open in Web Editor NEWCring is a lightweight and efficient event loop library written in pure C utilizing io-uring
License: MIT License
Cring is a lightweight and efficient event loop library written in pure C utilizing io-uring
License: MIT License
I propose adding Doxygen documentation to enhance code readability and provide a comprehensive reference for the project. The documentation should cover the entire codebase, including:
Ensure that all API functions, classes, and structures have complete and informative comments. API comments should provide a clear understanding of the purpose, inputs, and outputs of each API element.
Comments in test code are crucial for understanding the purpose of each test case, especially when troubleshooting or maintaining the test suite.
I would like to propose the addition of a feature to the benchmark pingpong client that allows users to set the queries per second (QPS). This enhancement would provide greater flexibility for performance testing and benchmarking scenarios.
The suggested modifications include:
Add a Command Line Option:
-qps
or --queries-per-second
, to allow users to specify the desired QPS value.Implementation of Throttling Mechanism:
Documentation Update:
After these changes, users should be able to set the queries per second when running the benchmark pingpong client, and the client should adhere to the specified rate during testing.
I propose incorporating the following examples into the project to enhance its demonstration capabilities:
udp-echo
chat-server and chat-client
multicast/broadcast
timer
http-client
throttling_proxy.cpp
throttling_proxy.cpp
example to showcase throttling functionalities in a proxy scenario.I am encountering a bug where the application becomes unresponsive and hangs after running for some time in multithreaded mode. This issue occurs intermittently and requires further investigation to identify the root cause.
It will stuck. I have seen sometimes it stuck because a context receive completion token of other context ?!
I would like to request the enabling of GitHub Actions in this repository with a workflow that performs the following checks:
Build and Test:
Code Formatting Check:
clang-format
Clang-Tidy Check:
I propose completing the benchmark codes for the project to assess and compare the performance of various functionalities. The benchmark codes should cover critical areas of the codebase and be designed to measure the execution time, memory usage, or any other relevant metrics.
Execute the completed benchmark codes and collect data to assess the project's performance. It's crucial to run the benchmark tests under various scenarios or configurations to capture a comprehensive understanding of the project's performance characteristics.
Create a comprehensive report summarizing the results of the benchmark tests. The report should include:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.