Skip to content

Instantly share code, notes, and snippets.

@zloster
zloster / console-log.txt
Created November 18, 2019 10:23
FrameworkBenchmarks Toolset - Concurrency set to 128 Python error
vagrant@TFB-all:~$ tfb --mode verify --test dropwizard-postgres --concurrency-levels 128
Sending build context to Docker daemon 2.56kB
Step 1/9 : FROM buildpack-deps:bionic
---> da7bebef4e62
Step 2/9 : RUN apt-get -yqq update
---> Using cache
---> 20cac748fdbc
Step 3/9 : RUN apt-get -yqq install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" git-core cloc dstat `# Collect resource usage statistics` python-dev python-pip software-properties-common libmysqlclient-dev `# Needed for MySQL-python`
---> Using cache
---> b1c704fea105
@zloster
zloster / GNU_Guile_2.2_Ubuntu_14.04.md
Created April 10, 2017 10:12
GNU Guile 2.2.0 on Ubuntu 14.04 - compiling, installing and running
@zloster
zloster / echo-in-console-instruction-count.md
Created November 17, 2016 15:24
How much work the poor CPU needs to do when we echo 4-characters string in the Linux console?

And the answer is:

688471 instructions

--@--:~$ uname -a
Linux 3.13.0-101-generic #148-Ubuntu SMP Thu Oct 20 22:09:17 UTC 2016 i686 i686 i686 GNU/Linux
--@--:~$ sudo perf stat echo test
test