I hereby claim:
- I am mthssdrbrg on github.
- I am mthssdrbrg (https://keybase.io/mthssdrbrg) on keybase.
- I have a public key whose fingerprint is 23C0 2015 D4FB 6319 5551 FBB8 860E C3B1 D837 621C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
0.8.1.1 config: | |
advertised.host.name=hostname | |
auto.leader.rebalance.enable=true | |
background.threads=4 | |
broker.id=10853105 | |
controlled.shutdown.enable=true | |
controlled.shutdown.retry.backoff.ms=30000 | |
controller.message.queue.size=100000 | |
default.replication.factor=3 | |
delete.topic.enable=true |
==== 0.8.1.1 config | |
advertised.host.name=host-1 | |
auto.leader.rebalance.enable=true | |
background.threads=4 | |
broker.id=<broker id> | |
controlled.shutdown.enable=true | |
controlled.shutdown.retry.backoff.ms=30000 | |
controller.message.queue.size=10000 | |
default.replication.factor=3 | |
delete.topic.enable=true |
Ruby-2.0.0-p195 | |
user system total real | |
gsub: 3.240000 0.010000 3.250000 ( 3.246422) | |
gsub!: 3.900000 0.000000 3.900000 ( 3.906798) | |
surround: 0.470000 0.000000 0.470000 ( 0.472412) | |
interpolation: 0.290000 0.000000 0.290000 ( 0.296582) | |
percent: 0.900000 0.000000 0.900000 ( 0.892754) | |
JRuby-1.7.4 | |
user system total real |
require 'benchmark' | |
iterations = 1_000_000 | |
bm_string = 'parenthesize this' | |
Benchmark.bmbm(7) do |x| | |
x.report("gsub:") do | |
iterations.times { bm_string.gsub(/^(.+)$/, '(\1)') } | |
end |
alias gr='cd `git rev-parse --git-dir`; cd ..' |