Skip to content

Instantly share code, notes, and snippets.

View Aaronontheweb's full-sized avatar
🚀
Shipping!

Aaron Stannard Aaronontheweb

🚀
Shipping!
View GitHub Profile

Akka.Tests.Performance.Actor.ActorMemoryFootprintSpec+UntypedActorMemoryFootprint

Measures the amount of memory used by 10,000 UntypedActors 12/8/2015 5:48:18 PM

System Info

NBench=NBench, Version=0.1.1.0, Culture=neutral, PublicKeyToken=null
OS=Microsoft Windows NT 6.2.9200.0
ProcessorCount=8
CLR=4.0.30319.42000,IsMono=False,MaxGcGeneration=2
WorkerThreads=32767, IOThreads=8
@Aaronontheweb
Aaronontheweb / ReceiveActorBenchmarkLog.txt
Created December 10, 2015 20:27
Azure Throughput numbers
[20:10:31][Step 1/1] ------------ STARTING Akka.Tests.Performance.Actor.ReceiveActorThroughputSpec+Benchmark ----------
[20:10:35][Step 1/1] --------------- BEGIN WARMUP ---------------
[20:10:35][Step 1/1] Elapsed: 00:00:03.4451439
[20:10:35][Step 1/1] TotalCollections [Gen0] - collections: 51.00 ,collections: /s 14.80 , ns / collections: 67,551,841.18
[20:10:35][Step 1/1] TotalCollections [Gen1] - collections: 19.00 ,collections: /s 5.52 , ns / collections: 181,323,363.16
[20:10:35][Step 1/1] TotalCollections [Gen2] - collections: 3.00 ,collections: /s 0.87 , ns / collections: 1,148,381,300.00
[20:10:35][Step 1/1] [Counter] MessageReceived - operations: 10,000,000.00 ,operations: /s 2,902,636.37 , ns / operations: 344.51
[20:10:35][Step 1/1] --------------- END WARMUP ---------------
[20:10:35][Step 1/1]
[20:10:38][Step 1/1] --------------- BEGIN WARMUP ---------------
@Aaronontheweb
Aaronontheweb / TestTransport-OneWay-ForkJoinDispatcher.md
Last active December 12, 2015 01:09
Akka.Remote TestTransport throughput

Akka.Remote.Tests.Performance.TestTransportRemoteMessagingThroughputSpec+OneWay

Measures the throughput of Akka.Remote over a particular transport using one-way messaging 12/12/2015 1:03:04 AM

System Info

NBench=NBench, Version=0.1.3.0, Culture=neutral, PublicKeyToken=null
OS=Microsoft Windows NT 6.2.9200.0
ProcessorCount=8
CLR=4.0.30319.42000,IsMono=False,MaxGcGeneration=2
WorkerThreads=32767, IOThreads=8
@Aaronontheweb
Aaronontheweb / output.md
Created December 1, 2015 02:30
NBench Markdown

NBench.Tests.Performance.CounterPerfSpecs

12/1/2015 2:24:47 AM

System Info

NBench=NBench, Version=0.0.2.0, Culture=neutral, PublicKeyToken=null
OS=Microsoft Windows NT 6.2.9200.0
ProcessorCount=8
CLR=4.0.30319.42000,IsMono=$False,MaxGcGeneration=$2
WorkerThreads=2047, IOThreads=$8
@Aaronontheweb
Aaronontheweb / viewItem.js
Created May 24, 2013 17:10
WinJS MarkedUp Custom Session Event without parameters
var contentQuery = Articles.getArticle(this._item.url).then(function (contentResponse) {
MK.info("Successfully downloaded content " + that._item.url);
MK.sessionEvent("ViewArticle");
});
@Aaronontheweb
Aaronontheweb / viewArticle.js
Created May 24, 2013 17:21
WinJS MarkedUp Session Event with Custom Parameter
var contentQuery = Articles.getArticle(this._item.url).then(function (contentResponse) {
MK.info("Successfully downloaded content " + that._item.url);
//Parameters need to be a PropertySet object (allows interop between WinRT languages)
var ps = new Windows.Foundation.Collections.PropertySet();
ps['ArticleUrl'] = that._item.url;
MK.sessionEvent("ViewArticle", ps);
});
@Aaronontheweb
Aaronontheweb / cachedXHR.js
Created May 24, 2013 18:00
WinJS application with MarkedUp using multiple, selective session event parameters
//Function load results from the cache
_loadCache: function () {
var that = this;
return this.local.exists(this.cacheFile).then(function (exists) {
if (exists) {
//Content found in the cache, so let's go read it.
return that.local.readText(that.cacheFile).then(function (results) {
if (results) {
try {
var ps = new Windows.Foundation.Collections.PropertySet();
@Aaronontheweb
Aaronontheweb / Log.txt
Created December 18, 2015 20:13
ReliableDeliverySupervisor-backoff-error
[19:51:49] : [Step 1/1] ------------ STARTING Akka.Remote.Tests.Performance.ForkJoinDispatcherRemoteMessagingThroughputSpec+OneWay ----------
[19:51:50] : [Step 1/1] [DEBUG][12/18/2015 7:51:50 PM][Thread 0001][EventStream] StandardOutLogger started
[19:51:50] : [Step 1/1] [DEBUG][12/18/2015 7:51:50 PM][Thread 0001][EventStream(SystemA1)] Logger log1-DefaultLogger [DefaultLogger] started
[19:51:50] : [Step 1/1] [DEBUG][12/18/2015 7:51:50 PM][Thread 0001][EventStream(SystemA1)] StandardOutLogger being removed
[19:51:50] : [Step 1/1] [DEBUG][12/18/2015 7:51:50 PM][Thread 0001][EventStream(SystemA1)] Logger log1-DefaultLogger [DefaultLogger] started
[19:51:50] : [Step 1/1] [DEBUG][12/18/2015 7:51:50 PM][Thread 0001][EventStream(SystemA1)] StandardOutLogger being removed
[19:51:50] : [Step 1/1] [DEBUG][12/18/2015 7:51:50 PM][Thread 0001][EventStream(SystemA1)] Default Loggers started
[19:51:50] : [Step 1/1] [INFO][12/18/2015 7:51:50 PM][Thread 0001][remoting] Starting remoting
[19:51:50] : [Step 1/1] [DE
@Aaronontheweb
Aaronontheweb / WinRTFileUtil.cs
Created June 30, 2013 21:46
Determining whether or not a file exists in WinRT
var parentFolder = ApplicationData.Current.LocalFolder;
var fileResult = await parentFolder.GetFilesAsync(CommonFileQuery.OrderByName);
return fileResult.Any(x => x.Name == file);
@Aaronontheweb
Aaronontheweb / cassandra.Thrift
Created January 9, 2014 01:21
Commands for generating latest Cassandra Thrift bindings
#!/usr/local/bin/thrift --java --php --py
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0