Skip to content

Instantly share code, notes, and snippets.

GO VERSION 1.7 - BENCHMARKING zeromq/goczmq
--------------------------------------------
go version
go version go1.7.1 linux/amd64
BenchmarkChanneler-8 200000 5371 ns/op 190.64 MB/s
BenchmarkPollerSendFrame1k-8 500000 2863 ns/op 357.62 MB/s
BenchmarkPollerSendFrame4k-8 300000 4063 ns/op 1008.04 MB/s
BenchmarkPollerSendFrame16k-8 200000 8259 ns/op 1983.66 MB/s
BenchmarkProxySendFrame1k-8 1000000 2328 ns/op 439.78 MB/s
@ogrisel
ogrisel / haswell-n1-highmem-32-xeon-2.30GHz.txt
Last active May 27, 2016 13:33
Utility script to time the effective memory bandwidth of CPUs
model name : Intel(R) Xeon(R) CPU @ 2.30GHz
Loading arrays to memory
Loading speed: 0.670GB/s
timing bandwidth for sequential memory access
bandwidth: 9.0 GB/s
n_workers=2 (threads)
@atcuno
atcuno / gist:3425484ac5cce5298932
Last active March 25, 2024 13:55
HowTo: Privacy & Security Conscious Browsing

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents

(require '[clojure.core.async :as a])
(def xform (comp (map inc)
(filter even?)
(dedupe)
(flatmap range)
(partition-all 3)
(partition-by #(< (apply + %) 7))
(flatmap flatten)
(random-sample 1.0)