This document describes a systematic method for detection, isolation, correction and prevention of regression, on matters of compiler performance. The method focuses on the creation of small end-to-end scaling tests that characterize, and stand in for, larger codebases on which the compiler is seen to perform poorly. These scaling tests have a number of advantages over "full sized" performance-testing codebases:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- It's in Homebrew and just runs (relative to, say, HBase): awesome!
- Having packages for popular Linux distros (I use Ubuntu personally and at work): awesome!
- Serving the GPG key over HTTP: not so awesome :-/
apt-get -y install rethinkdb
- It didn't start by default- great! I hate when services do this. I then looked at the start script to see how it knew (usually daemons use
/etc/default/blah
, but it has custom logic to see if there's anything in/etc/rethinkdb/instances.d
, which is cool).
This file contains hidden or 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
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
This file contains hidden or 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
(def murmur | |
(let [m (com.google.common.hash.Hashing/murmur3_128)] | |
(fn ^Long [^String s] | |
(-> (doto (.newHasher m) | |
(.putString s com.google.common.base.Charsets/UTF_8)) | |
(.hash) | |
(.asLong))))) |
This file contains hidden or 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
# http://nodebox.metaforix.net/articles/debian-on-lenovo-thinkpad-t420 | |
#create new file /usr/share/X11/xorg.conf.d/99-my.conf | |
Section "InputDevice" | |
Identifier "Synaptics Touchpad" | |
Driver "synaptics" | |
Option "SendCoreEvents" "true" | |
Option "Device" "/dev/psaux" | |
Option "Protocol" "auto-dev" |
This file contains hidden or 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
#################################### | |
# BASIC REQUIREMENTS | |
# http://graphite.wikidot.com/installation | |
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
# Last tested & updated 10/13/2011 | |
#################################### | |
sudo apt-get update | |
sudo apt-get upgrade |
This file contains hidden or 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
" folding for Markdown headers, both styles (atx- and setext-) | |
" http://daringfireball.net/projects/markdown/syntax#header | |
" | |
" this code can be placed in file | |
" $HOME/.vim/after/ftplugin/markdown.vim | |
" In Markdown, setext-style overrides atx-style, so we first check for an | |
" underline. Empty lines should be ignored when underlined. | |
func! Foldexpr_markdown(lnum) | |
let l1 = getline(a:lnum) |
This file contains hidden or 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
virtualenv --no-site-packages . | |
source bin/activate | |
bin/pip install tornado | |
bin/pip freeze > requirements.txt | |
mkdir app | |
git init | |
cat >.gitignore <<EOF | |
bin/ | |
include/ | |
lib/ |
NewerOlder