Skip to content

Instantly share code, notes, and snippets.

View flimzy's full-sized avatar

Jonathan Hall flimzy

View GitHub Profile
Chromium Version 55.0.2883.75 built on Debian stretch/sid, running on Debian stretch/sid (64-bit):
len: 1
go 10000 110000 ns/op 0.01 MB/s
webcrypto 1000 1595000 ns/op 0.00 MB/s
len: 1000
go 1000 1270000 ns/op 0.79 MB/s
webcrypto 1000 1629000 ns/op 0.61 MB/s
This file has been truncated, but you can view the full file.
"use strict";
(function() {
Error.stackTraceLimit = Infinity;
var $global, $module;
if (typeof window !== "undefined") { /* web page */
$global = window;
} else if (typeof self !== "undefined") { /* web worker */
$global = self;
#!/bin/sh
# ------------------------------------------------------------------------------
# SOME INFOS : fairly standard (debian) init script.
# Note that node doesn't create a PID file (hence --make-pidfile)
# has to be run in the background (hence --background)
# and NOT as root (hence --chuid)
#
# MORE INFOS : INIT SCRIPT http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit
# INIT-INFO RULES http://wiki.debian.org/LSBInitScripts
# INSTALL/REMOVE http://www.debian-administration.org/articles/28