This file contains 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
(ns immutant-bench.queue-speed-test | |
(:require [immutant.messaging :as m])) | |
;; Performance stats | |
;; | |
;; Robs mac mini (4 cores) | |
;; ----------------------- | |
;; | |
;; 10 producers, 5 consumers | |
;; |
This file contains 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
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the branch/status of the current git repository | |
# * the branch of the current subversion repository | |
# * the return value of the previous command | |
# | |
# USAGE: |
This file contains 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
# This function updates the current branch with the latest changes from the | |
# origin repository. The master branch is checked out, a git pull is performed, | |
# the original branch is checked out again, and then the changes from master | |
# are rebased back into the branch. | |
# | |
# Essentially, the following steps are performed. The command is smart enough | |
# to do the right thing when the current branch _is_ the master branch. | |
# | |
# git checkout master | |
# git pull --rebase |