This file contains 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
using System; | |
using System.Diagnostics; | |
using System.Net; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using System.Web.Http; | |
using FunctionApp22_UnitTesting; | |
using Microsoft.Azure.WebJobs.Host; | |
using Xunit; |
This file contains 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
using System.IO; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Azure.WebJobs.Extensions.Http; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.Azure.WebJobs.Host; | |
using Newtonsoft.Json; | |
namespace TieredJitTest |
This file contains 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
#r "Microsoft.ServiceBus" | |
using System; | |
using System.Text; | |
using Microsoft.ServiceBus.Messaging; | |
public static void Run(EventData myEventHubMessage, TraceWriter log) | |
{ | |
log.Info($"C# Event Hub trigger function processed a message with partition key: {myEventHubMessage.PartitionKey}"); | |
} |
Each row is a 5 minute run at constant load of 50 RPS.
Scenario | Min | Median | P95 | P99 | Max |
---|---|---|---|---|---|
Dedicated without fix | 154 | 158.1 | 999.6 | 2128 | 3341.9 |
Dedicated without fix | 154.2 | 158.8 | 1204.8 | 2058.8 | 3845.8 |
Dedicated without fix | 154 | 158.6 | 941 | 2430.4 | 4618.1 |
Dedicated without fix | 154.2 | 158.8 | 882.1 | 2089.3 | 3515.9 |
This file contains 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
using System.Net; | |
using System.Threading.Tasks.Dataflow; | |
public enum Mode | |
{ | |
Sequential, | |
Batches, | |
Dataflow | |
} |
This file contains 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
{ | |
"parameters": { | |
"name": { | |
"type": "string" | |
} | |
}, | |
"resources": [ | |
{ | |
"apiVersion": "2015-08-01", | |
"name": "[parameters('name')]", |
This file contains 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
{ | |
"parameters": { | |
"name": { | |
"type": "string", | |
"defaultValue": "pbsynctest4" | |
}, | |
"storageName": { | |
"type": "string", | |
"defaultValue": "pbsynctest4" | |
}, |
This file contains 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
{ | |
"bindings": [ | |
{ | |
"name": "myTimer", | |
"type": "timerTrigger", | |
"direction": "in", | |
"schedule": "*/10 * * * * *" | |
}, | |
{ | |
"type": "table", |
This file contains 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
using System; | |
using System.Threading.Tasks; | |
using System.Diagnostics; | |
static Dictionary<int,byte[]> Allocations = new Dictionary<int,byte[]>(); | |
public static async Task Run(string id, int message, TraceWriter log) | |
{ | |
log.Verbose($"Machine: {Environment.MachineName}"); | |