Skip to content

Instantly share code, notes, and snippets.

@jbtule
jbtule / Program.fs
Last active March 6, 2020 15:26 — forked from grishace/Program.fs
Benchmarking memory traffic from the while loop inside async CE
open System
open BenchmarkDotNet.Attributes
open BenchmarkDotNet.Running
open BenchmarkDotNet.Jobs
open FSharp.Control.Tasks.V2
[<SimpleJob(RuntimeMoniker.NetCoreApp31); MemoryDiagnoser>]
type Test() =
[<Params(100, 1000, 10000)>]
@jbtule
jbtule / AzureStorageEmulatorManager.cs
Created July 29, 2017 01:26 — forked from bragma/AzureStorageEmulatorManager.cs
SetUp Fixture for NUnit starting the emulator before tests
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AzureTableStorage.Tests
{
// Start/stop azure storage emulator from code: