Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,8 @@ jobs:
dotnet-version: |
9.0.x

- name: Build - Debug
run: dotnet build src/Interprocess.sln

- name: Test - Debug
run: dotnet test --no-build --verbosity=detailed src/Interprocess.sln
run: dotnet test src/Interprocess.sln

- name: Build - Release
run: dotnet build -c Release src/Interprocess.sln
Expand Down
20 changes: 20 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Publisher Sample",
"type": "dotnet",
"request": "launch",
"projectPath": "${workspaceFolder}/src/Sample/Publisher/Publisher.csproj"
},
{
"name": "Subscriber Sample",
"type": "dotnet",
"request": "launch",
"projectPath": "${workspaceFolder}/src/Sample/Subscriber/Subscriber.csproj"
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@
"Diagnoser",
"Interprocess",
"Kaby",
"Onnx",
"Pedram",
"Posix",
"Rezaei",
"Roslynator",
"Timespec",
"Xeon",
"Xunit"
]
Expand Down
25 changes: 25 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}/src"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$msCompile"
],
"presentation": {
"reveal": "always",
"panel": "shared"
}
},
]
}
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ A lot has gone into optimizing the implementation of this library. For instance,

| Method | Description |
|------------------------------------------------ |-------------- |
| Message enqueue | Benchmarks the performance of enqueuing a message. |
| Message enqueue and dequeue | Benchmarks the performance of sending a message to a client and receiving that message. It is inclusive of the duration to enqueue and dequeue a message. |
| Message enqueue and dequeue - no message buffer | Benchmarks the performance of sending a message to a client and receiving that message. It is inclusive of the duration to enqueue and dequeue a message and memory allocation for the received message. |

Expand All @@ -117,12 +116,6 @@ You can replicate the results by running the following command:
dotnet run Interprocess.Benchmark.csproj -c Release
```

You can also be explicit about the .NET SDK and Runtime(s) versions:

```sh
dotnet run Interprocess.Benchmark.csproj -c Release -f net9.0 --runtimes net9.0
```

---

### On Windows
Expand All @@ -141,7 +134,6 @@ Results:

| Method | Mean (ns) | Error (ns) | StdDev (ns) | Allocated |
|------------------------------------------------ |----------:|-----------:|------------:|----------:|
| Message enqueue | `192.7`| `3.61`| `3.21`| `-` |
| Message enqueue and dequeue | `305.6`| `5.96`| `6.62`| `-` |
| Message enqueue and dequeue - no message buffer | `311.5`| `5.90`| `9.85`| `32 B` |

Expand Down Expand Up @@ -182,7 +174,6 @@ Results:

| Method | Mean (ns) | Error (ns) | StdDev (ns) | Allocated |
|------------------------------------------------ |----------:|-----------:|------------:|----------:|
| Message enqueue | `5.3`| `-`| `-`| `-`|
| Message enqueue and dequeue | `169.9`| `3.08`| `4.01`| `-`|
| Message enqueue and dequeue - no message buffer | `179.4`| `1.91`| `1.60`| `32 B`|

Expand Down
Loading
Loading