- Capture full build output:
Use TestResults directory as it's already in .gitignore.
dotnet build src/Akka.sln > TestResults/full_build_output.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----------------------------------------------------------------------- | |
// <copyright file="TcpInstrumentation.cs" company="Petabridge, LLC"> | |
// Copyright (C) 2024 - 2024 Petabridge, LLC <https://petabridge.com> | |
// </copyright> | |
// ----------------------------------------------------------------------- | |
using System.Net; | |
using System.Net.NetworkInformation; | |
using OpenTelemetry.Metrics; | |
using static OpenTelemetry.TcpInstrumentation.TcpInstrumentationMeter; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Site to Docker | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish-docker: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Program | |
open Falco | |
open Falco.Routing | |
open Microsoft.AspNetCore.Builder | |
let wapp = WebApplication.Create() | |
wapp.UseRouting() | |
.UseDefaultFiles() |
BenchmarkDotNet v0.14.0, Pop!_OS 22.04 LTS
13th Gen Intel Core i7-1360P, 1 CPU, 16 logical and 12 physical cores
.NET SDK 9.0.100
[Host] : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
LongRun : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
Job=LongRun EvaluateOverhead=False Concurrent=True
Server=True InvocationCount=1 IterationCount=10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var actorSystem = ActorSystem.Create("Foo"); | |
async Task DoCount(int parallelism, int elements, bool configureAwait) | |
{ | |
Console.WriteLine($"[{DateTime.UtcNow}] Starting calculation of [{elements}] elements with parallelism [{parallelism}]"); | |
var timer = Stopwatch.StartNew(); | |
var total = await Source.Repeat(1) | |
.SelectAsync(10, async i => | |
{ |
BenchmarkDotNet v0.14.0, Pop!_OS 22.04 LTS
13th Gen Intel Core i7-1360P, 1 CPU, 16 logical and 12 physical cores
.NET SDK 9.0.100
[Host] : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
LongRun : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
Job=LongRun EvaluateOverhead=False Concurrent=True
Server=True InvocationCount=1 IterationCount=10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async Task Main() | |
{ | |
// Configuration | |
const string url = "Your URL here"; // Replace with your URL | |
const int numberOfRequests = 2000; // Adjust the number of requests as needed | |
// Data storage | |
var tasks = new List<Task<RequestResult>>(); | |
// HTTP Client setup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Note that you must explicitly enable compiler optimizations: | |
#LINQPad optimize+ | |
void Main() | |
{ | |
Util.AutoScrollResults = true; | |
BenchmarkRunner.Run<MaterializedViewStateBenchmarks>(); | |
} | |
// You can define other methods, fields, classes and namespaces here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
NewerOlder