aboutsummaryrefslogtreecommitdiff
path: root/nexgb/examples/atoms/Makefile
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-09-08 16:54:17 +0200
committerPřemysl Janouch <p@janouch.name>2018-09-08 16:54:17 +0200
commit3173202cc1e08762c6e156a8fffd23269a5ddb2b (patch)
tree95c4a06f8384d41b15e9c22afac0a387de79dc51 /nexgb/examples/atoms/Makefile
parent632b3ae494d45755525644fe5d04475c95aae364 (diff)
parent3906399e7c2a40fbaf355de572cf50a314083f64 (diff)
downloadhaven-3173202cc1e08762c6e156a8fffd23269a5ddb2b.tar.gz
haven-3173202cc1e08762c6e156a8fffd23269a5ddb2b.tar.xz
haven-3173202cc1e08762c6e156a8fffd23269a5ddb2b.zip
Merge aarzilli/xgb, branch xcb1.12 as nexgb
History has been linearized and rewritten to stay under the new subdirectory. I want to make changes incompatible to BurntSushi/xgb. The history begs for being thrown away entirely because of its quality and because it doesn't cover the Google period but it is still useful for copyright tracking.
Diffstat (limited to 'nexgb/examples/atoms/Makefile')
-rw-r--r--nexgb/examples/atoms/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/nexgb/examples/atoms/Makefile b/nexgb/examples/atoms/Makefile
new file mode 100644
index 0000000..c192a37
--- /dev/null
+++ b/nexgb/examples/atoms/Makefile
@@ -0,0 +1,12 @@
+atoms:
+ go build
+
+test: atoms
+ ./atoms --requests 500000 --cpu 1 \
+ --cpuprof cpu1.prof --memprof mem1.prof > atoms1.info 2>&1
+ ./atoms --requests 500000 --cpu 2 \
+ --cpuprof cpu2.prof --memprof mem2.prof > atoms2.info 2>&1
+ ./atoms --requests 500000 --cpu 3 \
+ --cpuprof cpu3.prof --memprof mem3.prof > atoms3.info 2>&1
+ ./atoms --requests 500000 --cpu 6 \
+ --cpuprof cpu6.prof --memprof mem6.prof > atoms6.info 2>&1