<commit_before># IPC-Bench

[![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)](http://goldsborough.mit-license.org)

This repository holds sample implementations and benchmarks for various inter-process-communication (IPC) methods on Linux and OS X.

## Spectrum

Currently, the following IPC methods are implemented and ready to be benchmarked:

* Internet sockets
* Domain sockets
* Pipes
* FIFOs (named pipes)
* Shared Memory
* Memory-Mapped Files
* Message Queues
* ZeroMQ
* Unix Signals

Our benchmarks measure the latency of sending a single message between two processes (see below).

## Usage
<commit_msg>added required packages to readme<commit_after># IPC-Bench

[![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)](http://goldsborough.mit-license.org)

This repository holds sample implementations and benchmarks for various inter-process-communication (IPC) methods on Linux and OS X.

## Spectrum

Currently, the following IPC methods are implemented and ready to be benchmarked:

* Internet sockets
* Domain sockets
* Pipes
* FIFOs (named pipes)
* Shared Memory
* Memory-Mapped Files
* Message Queues
* ZeroMQ
* Unix Signals

Our benchmarks measure the latency of sending a single message between two processes (see below).

## Usage

Some required packages on Ubuntu:
```shell
sudo apt-get install pkg-config
```

{'fraction_non_alphanumeric': 0.08931082981715893, 'fraction_numerical': 0.0, 'mean_word_length': 5.16017316017316, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2026818', 'n_tokens_mistral': 439, 'n_tokens_neox': 391, 'n_words': 148}