Skip to content

Instantly share code, notes, and snippets.

View marks-chan's full-sized avatar

杂货铺老板 marks-chan

View GitHub Profile
-Xmx10g
m2.xlarge (4 virtual cores)
Both Jetty and Netty execute the same code--generate 8k of random bits and compute a sha1, returning it over the wire.
INTERNAL (Benchmark tool runs on same machine)
--------
Jetty:
@sfroestl
sfroestl / time-tracker.js
Last active December 25, 2015 12:59
TimeTracker Service for Small Improvements performance blogpost
// TimeTracker Service
angular.module('siApp.services.timeTracker', [])
.service('TimeTracker', ['$log', function ($log) {
var reviewListLoaded = null;
this.reviewListLoaded = function () {
return reviewListLoaded;
};
this.setReviewListLoaded = function (date) {
@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active July 25, 2024 10:41
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S