aboutsummaryrefslogtreecommitdiff
path: root/nexgb/examples/atoms/Makefile
diff options
context:
space:
mode:
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