coz
nng
Our great sponsors
coz | nng | |
---|---|---|
18 | 9 | |
3,923 | 3,556 | |
4.6% | 1.5% | |
5.7 | 8.9 | |
9 days ago | 7 days ago | |
C | C | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
coz
- Coz: Causal Profiling
- Coz: Finding code that counts with causal profiling
-
Why is SwitchToThread using so many resources?
But let's take the guesswork out of profilers. Use Coz. It's a causal profiler that performs experiments to determine what code would see the greatest performance improvement of the whole program if made faster. There's a video in the link; I think the best demonstration they had was a program that saw the greatest improvement by optimizing a function that ranked #30 by a sampling profiler.
-
Performance analysing tools
Coz. It's in a Debian package so you don't have to build it. Watch the video embedded in the page I linked; I;m all about profiling, but the devil is if you're not a statistician, you don't know how to read profiler results.
-
How much does Rust's bounds checking actually cost?
I think https://github.com/plasma-umass/coz solves most problems related to noise in benchmarks.
-
Why would introducing a panic cause a 20% performance increase
Perhaps you're thinking of the coz profiler (https://github.com/plasma-umass/coz)?
- Coz: Finding Code That Counts with Causal Profiling
-
Ask HN: Has anyone used Coz for casual profiling?
I was thinking of doing some kernel profiling, and stumbled upon this interesting repo: https://github.com/plasma-umass/coz
I'm pretty intrigued by the concept, and was wondering if anyone here tried out Coz.
-
Best accurate way to measure/compare elapsed time in C++
https://github.com/plasma-umass/coz https://youtu.be/7g1Acy5eGbE
-
Performance variation when moving functions between files
Could it be an issue of binary layout? Have a look at the coz profiler which has a rust port.
nng
- nng is "nanomsg next generation", a wire-compatible C99 rewrite of the C library libnanomsg, with a similarly permissive MIT license. Pub/Sub, RPC-style Request/Reply, or Service Discovery, without worrying about details like connection management or retries.
-
RPC lib?
I just published the other day some bindings to the NNG message passing library (https://nng.nanomsg.org/). You can do request/reply, publish/subcribe and other communication patterns. It's trivial to serialize (with Binary for example) any data structure and pass it around the network:
-
[ANN] nng: Bindings for NNG (https://github.com/nanomsg/nng)
I put together quickly a binding to the NNG! library, it's simply a fork of the existing binding to Nanomsg! updated to work with NNG using the "compatible API". For basic usage seems to work pretty well:
-
Neovim architecture
I’m considering using msgpack + nng or msgpack + zmq
-
Any good lightweight c++ local socket library for embedded Linux?
I've found NNG to be high quality, also has less restrictive license. https://nng.nanomsg.org/
-
What is the best (and easy) way to make 2 different python projects communicate? They are on the same server for now but have different conda envs.
for communication between a Discord bot and other applications on the same machine I have used ZeroMQ - relatively easy to use, very portable but still flexible enough. (I've heard though that ZeroMQ has been somewhat superseded by nng nowadays)
-
I hate ASIO and I can't be alone.
I agree with this, but would add NNg as a good messaging library. It’s the successor to the spiritual successor of ZeroMQ.
- NNG – nanomsg-NG (rewrite of nanomsg)
-
How to use socket programming in cpp to chat over the same Wi-Fi network
you can also look into https://github.com/nanomsg/nng
What are some alternatives?
Sampling Profiler for Python - Simple Python sampling profiler
ZeroMQ - ZeroMQ core engine in C++, implements ZMTP/3.1
php-spx - A simple & straight-to-the-point PHP profiling extension with its built-in web UI
zmqpp - 0mq 'highlevel' C++ bindings
stabilizer - Stabilizer: Rigorous Performance Evaluation (llvm-12 fork)
uvw - Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!
cpp-httplib - A C++ header-only HTTP/HTTPS server and client library
MTuner - MTuner is a C/C++ memory profiler and memory leak finder for Windows, PlayStation 4 and 3, Android and other platforms
cppzmq - Header-only C++ binding for libzmq
distributed-process-tests - Cloud Haskell core library